SceneKit App crashing on debug session, works fine when opening normally

I'm getting this really weird error related to SceneKit and Metal which is as follows (I've tried OpenGL ES but nothing works):


[SceneKit] Error: Failed loading : <private>

/BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-85.83/ToolsLayers/Debug/MTLDebugBlitCommandEncoder.mm:790: failed assertion `[tex mipmapLevelCount](1) must be > 1.'


The error only happens when starting a new debug sessions/just compiled. But if I open the app it runs normally. Is this something I should be worried about? Or wif I upload my app the app will run okay?


Thanks for any information you can provide.

Post not yet marked as solved Up vote post of robrien Down vote post of robrien
993 views

Replies

have you ever figured it out? have the same issue

I have the same problem. I found a work-around: Disable "Metal API Validation" in the Scheme.

I also have this problem.