We are experiencing a crash in simulator and on device when enabling a game object with a skinned mesh renderer. The object needs to be disabled in Start for the issue to occur.
I have reported a bug IN-56706 with a small repro project, but I’m keeping this topic open for visibility, in case anyone else experience a similar problem.
I have attached a snippet from the stack trace and the error that we are getting.
#5 0x0000000100f0ee1c in PolySpatialRealityKit.SetEntitySkinnedRenderInfo2(_:_:) at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial.visionos/Source~/PolySpatialRealityKit/PolySpatialExtra/PolySpatialRealityKitOverrides.swift:226
PolySpatialRealityKit/PolySpatialRealityKitOverrides.swift:226: Fatal error: Unexpectedly found nil while unwrapping an Optional value