visionOS simulator crashes on 2017 iMac Pro with any custom shader

When running the Diorama sample app (https://developer.apple.com/documentation/visionos/diorama/), whenever I toggle the "Show Diorama" button, the simulator immediately crashes and reboots.

This happens only when running the simulator on my 2017 iMac Pro. When I run the same thing on my M1 Mac Mini, everything works, albeit incredibly slowly.

From what I can tell, any time I try to use any custom shader at all, this crash occurs (but only on the iMac Pro.) For example, if I start out with the hello world app from the Xcode app template and edit the material to be a custom shader, I get the crash.

Is anyone else experiencing this issue? And more importantly... does anyone have any workarounds?

Answered by Graphics and Games Engineer in 757028022

Hi, this is a known issue, only on intel based Macs. We have a fix identified. There is no workaround right now, except to use Apple Silicon Macs.

Accepted Answer

Hi, this is a known issue, only on intel based Macs. We have a fix identified. There is no workaround right now, except to use Apple Silicon Macs.

Hello @Graphics and Games Engineer and @lukem456 I need to know if the Simulator should run on iMac 2017 Intel or not.... I need to know because otherwise I will need to buy a Macbook Pro M1 for my current work. Please answer here. Thanks in advance.

I guess it depends on whether you're going to be doing RealityKit shaders early on.

Aside from this issue, the simulator is running ok on my Intel iMac, and it lets me poke around with SwiftUI stuff etc. As long as I'm not trying to do fancy RealityKit shaders, it's usable. And, I have hope that a fix will be forthcoming soon!

In case anyone else is following along, this issue is still present in Xcode 15 Beta 3!

https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#visionOS-Simulator

Following, I'm experiencing the same issue with 2019 Macbook Pro (Intel i9). Hopefully they can release an update soon!

visionOS simulator crashes on 2017 iMac Pro with any custom shader
 
 
Q