Search Issue Tracker

Fixed

Fixed in 2.1.2

Votes

0

Found in [Package]

2.0.4

Issue ID

XRVOSB-67

Regression

No

"Swift runtime failure: Unexpectedly found nil..." error is thrown during runtime on visionOS

Package: PolySpatial

-

How to reproduce:
1. Open the attached “IN-88937.zip” project
2. Build and Run for VisionOS
3. Observe the Player

Expected result: Player is opened and running
Actual result: Player is infinitely loading and “crackling white noise” is heard from the headset when interacting with System buttons

Reproducible with: 2.0.4 (6000.0.38f1, 6000.1.0b5, 6000.2.0a3)
Couldn’t test with: 1.3.11 (2022.3.58f1) - Compiler errors due to XR features not present in older versions
Fixed in: 2.1.2 (6000.2.0a3)

Reproducible on:
Apple Vision Pro on VisionOS 2.3

Testing environment: macOS 15.3 (M3 Pro), macOS 15.2 (M2 Max) - user’s

Note:
Xcode logs are printing this error: Thread 1: Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value

Add comment

Log in to post comment