Hi all
it’s me again., please don’t hate me.
I am experiencing a very weird behavior on the studio.
I have an experience with 2 VPS locations, if I launch the simulator and I go to the location and I trigger the found or lost event everything is working as expected.
When I find the location, there is a UI button displayed on top of them.
The button hides and shows as expected (hides on lost, shows on found)
If I click the button, the expected behavior is to hide a couple of elements and display others and switch the camera, so the issue I am facing is that when I click the button it seems that the behavior is correct (i can see the correct elements) but the simulation restart saying:
8th Wall XR Version: 27.2.5.427s
,
it goes through the loading screen and the simulator just display a black screen without anything on it.
It seem to reload twice, as if I untick ‘Clear on run’ I can see the message twice.
At this stage if I click the reload button on the top of the simulator window, it does reload but still display the black screen, the only way for me to return to a working state is to close the simulator rand restart, but then I am again in the same cycle.
If I pair a mobile phone it does very weird things.
It loads with a world camera, obviously there are no VPS as I am not there, but if I tap it is like the button is tapped (not sure why as the button is not displayed) , then after the invisible button is clicked the camera is super zoomed in (and this is also very strange because on tap I switch the camera to a 3D camera so no world camera there)
I did some more debugging and it seems that the buttons are still around in a transparent fashion in the viewport to be clicked even if hidden with
ecs.Hidden.set(world, schemaAttribute.get(eid).mainButton, {})
As errors go I am getting this one while looking at the VPS (not getting this on mobile as I am not looking at the VPS from the mob in this instance)
▼ Uncaught TypeError: Cannot read properties of undefined (reading 'side')
at (anonymous) runtime.js
at At runtime.js
at $i._computeIntersections runtime.js
at $i.raycast runtime.js
at br runtime.js
at br runtime.js
at br runtime.js
at br runtime.js
at br runtime.js
at br runtime.js
Any suggestion on how to debug this issue?