Post

Replies

Boosts

Views

Activity

Reply to simulator crash on "Depth Clip Mode is not supported on this device"
Yes, I have the same issue. When using SCNNodeRenderDelegate the simulator crashes. I cannot find any call for Depth Clip Mode in my code, but when creating a MTLRenderPipelineDescriptor I have to set the clip mode to always pass. Using Xcode 11 this worked in the simulator, but when using Xcode 12 beta 4 up to beta 6 (12A8189n) most simulators crash (did not test all). I'm not sure how to avoid this except disabling all these nodes from SceneKit rendering. While debugging I saw that the call to setDepthClipMode is already done before the rendering occurs. However, I'm not sure - until now I cannot be sure that this is not just my own mistake and I just cannot find it. Please check if you are calling "setDepthClipMode" from inside your code and if not please reply. Maybe, then we have found a bug in the simulator. Side note: The documentation says: Use depth clipping to ignore fragments outside the z-axis boundaries of a viewing volume. Depth clipping is supported on all macOS GPU families and iOS family 4 and later. The simulator is supporting family 2 or at least not family 4 - for this reason you will also have trouble with 16k textures. Regards, Jürgen
Aug ’20