Presenting images in RealityKit sample No Longer Builds

After updating to the latest visionOS beta, visionOS 26 Beta 4 (23M5300g) the ‘Presenting images in RealityKit’ sample from the following link no longer builds due to an error. https://developer.apple.com/documentation/RealityKit/presenting-images-in-realitykit

Expected / Previous: Application builds and runs on device, working as described in the documentation.

Reality: Application builds, but does not run on device due to an error (shown in screenshot) “Thread 1: EXC_BAD_ACCESS (code=1, address=0xb)”. The application still runs on the simulator, but not on device. When launching the app from Xcode, it builds and installs correctly but hangs due to the respective error. When loading the app from the Home Screen, the app does not load, and immediately returns to the Home Screen.

This Xcode project previously ran with no changes to code - the only change was updating the visionOS system software to the latest version. visionOS 26 Beta 4 (23M5300g)

Is anyone else experiencing this issue?

Reverting to Beta 3 also does not work with this sample.

Reverting to visionOS 26 Beta 2, the sample works as expected!

Hello,

Please send us a bug report for the beta using the Feedback Assistant.

@mcdopsa Are you using the latest Xcode Beta version on the Apple developer website? Could you please let us know the version of the Xcode that you are using? Thank you.

Presenting images in RealityKit sample No Longer Builds
 
 
Q