Hey there!
I recently upgraded my project from Unity 2022.3.21 to Unity 6 and also upgraded the visionOS packages to 2.0.4.
The thing is I get the following error:
[Platform] Entity 0 not found
PolySpatialRealityKit/PolySpatialImplUtils.swift:53: Fatal error: Entity 0 not found
And as far as I have been analysing, it happens whenever I have interactive GUI like buttons or dropdowns. My app is basically a lot of buttons in floating UI and I can’t find a solution to this. Removing the buttons, it works good and the entity 0 is found. I have a volume camera and everything ready. Even testing the samples, the ones with buttons are getting the same error.
And the error breaks the app. The previous logs are:
Requested open window for: id 10996 (desired: Bounded-1.000x1.000x1.000)
Volume added: id 10996 (desired: Bounded-1.000x1.000x1.000)
Any idea? Already did Reimport All.
Thanks!