Swift freezing when trying to call scene.renderMesh


I’ve updated some apps to Swift and I am running into an issue during scanning.

Calling scene.renderMesh is causing my app to freeze. The stack trace shows some sort of deadlock situation.

The last 3 calls in the stack trace are:
0 __ulock_wait
1 _os_unfair_lock_lock_slow
2 gllShader_exec

Has anyone run into this issue with a Swift project?