Reproduction steps:
1. Open the attached “Repro“ project
2. Build the project on “visionOS” platform (File > Build Settings > visionOS > Build)
3. Run the build on an Apple Vision Pro device or visionOS simulator
Expected result: App runs as expected with a warning
Actual result: App crashes
Reproducible with: 1.2.3, 1.3.1 (2022.3.39f1), 2.0.0-pre.3, 2.0.0-pre.9 (6000.0.12f1)
Reproducible on: MR on visionOS 2.0 beta 4 Simulator - built using M1 Max MacOS 14.5
Not reproducible on: No other environment tested