Unity – Room creation working on one device but not on another.
I’m currently working on a project using MRUK. It uses room scanning to instantiate walls, floors, ceilings, and so on. The user can place objects in their room.
When I test on my device, everything works fine. However, on my friend’s device, it doesn’t work. The objects are not moving and just float in the air. After some debugging, we found that the room was not being created, so there is nowhere for the objects to be placed.
I added an effect mesh and immersive debug tools to understand what was happening on my friend’s device. The room is not being created, and the console shows logs like “Room not found,” along with other debug messages I added to check if any room data was being returned from the device.
We tried reverting to earlier versions where we are sure everything was working, but the issue persists on his device (mine works fine). This makes me think it could be related to permissions. However, after checking the settings, the app does have permission to access spatial data.
We also tried clearing all scanned rooms and spatial data from his device, and even reinstalling the app, but nothing worked.
Some additional details that might be relevant:
- We are using SideQuest to install the builds
- In the latest versions, we added multiplayer using Photon
- We tried scanning the room before opening the app, and also triggering a scan from within the app using a button
