SceneKit Hangs

I experience an issue with SceneKit that is driving me crazy ;(

I have severe hangs when I disable Metal API Validation (which is default when you don't run from Xcode). So is there any way to force enable Metal API Validation for AppStore binary? (run MTL_DEBUG_LAYER=1 for Testflight or App Store)

Hangs happen on Catalyst but also on iOS if I use lightingEnvironment...

SceneKit Hangs
 
 
Q