Full error:
[Platform] Entity -369098752:85 not found
PolySpatialRealityKit/PolySpatialImplUtils.swift:52: Fatal error: Entity -369098752:85 not found
I keep getting this error when running a build on device. This wasn’t happening previously, I’m really not sure what has changed. It seems that if I remove any VisionOS scripts from the scene, e.g. VisionOSGroundingShadow, then the issue stops. This is causing me major disruptions in development and help would be greatly appreciated.
Thank you
If it’s possible to submit a bug report with a repro case and let us know the incident number (IN-#####), that would help us debug the issue.
While it may be something else, this issue produces that exact line and crashes/freezes VisionOS device. You can check if you’re destroying any inactive particles or gameobjects that have nested inactive particles.
All I’m trying to do is load a new scene on button press. There’s nothing special happening in the scene, a panel with two buttons and the button presses will load a new scene. There aren’t any objects being destroyed at all. I’m completely blocked on this project till this is fixed. Is there a temporary work around?
To add, I’m on PolySpatial 1.1.6 and the included Samples are suffering from the exact same problem when trying to load one of the sample scenes from the project launcher. How is it possible that what used to function fine is now broken? I really need an ETA on when this will be fixed as I have deadlines I need to adhere to.
What is the incident number for the bug report? Before we release we smoke test projects by building and running the package samples includes loading scenes.
Hi,
I fixed this by enabling faster runtime on IL2CPP Code Generation inside the Player Settings
I fixed this by enabling faster runtime on IL2CPP Code Generation inside the Player Settings
Hi, in my case, after changing to enable “faster runtime” on IL2CPP Code Generation on Player Settings, issue is not fixed.
Furthermore, this issue occurs when I transition to another scene with much of GameObject in current scene.( Scene with small ammount of gameobjects does not happen this issue when scene transition )
Here is the Xcode log.
[Platform] Entity -50482 not found
PolySpatialRealityKit/PolySpatialImplUtils.swift:52: Fatal error: Entity -50482 not found
Can't show file for stack frame : <DBGLLDBStackFrame: 0x31f4b3ac0> - stackNumber:4 - name:PolySpatialRealityKit.GetEntity(_:) [inlined]. The file path does not exist on the file system: /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial.visionos/Source~/PolySpatialRealityKit/PolySpatialRealityKit/PolySpatialImplUtils.swiftMessage from debugger: killed
This error only occurs on VisionPro devices. (not occurs on UnityEditor)
@AndrzejUnity @DanMillerU3D
I’m confused this issue is not always happened on same application
,so it’s hard to report to you…
cf. My development environment
Unity:2022.3.20f1
PolySpatial: 1.2.3
Xcode: 15.4
VisionOS: 1.1.2, 1.2, 2.0b4
I understand; that often happens. However, if it’s at all possible to create a minimal repro case and submit that as a bug report (and let us know the incident number: IN-#####), even if we have to run it many times before we see the issue, that would help us quite a bit. Either way, thanks for bringing this (back) to our attention!