Forum Discussion
neurograph
2 years agoExplorer
MRUK: Unable to Load a new Scene from the device when changing physical room
Hi,
I have a scene that is working in one room and I would like it to rescan the scene or load a new scene from the device if I move into a new physical room (scanned and present on the device).
I am debugging the efficiency of MRUKRoom.IsPositionInRoom(Vector3 pos) by recoloring the EffectMesh...
But the below code does not do what it should... Any Meta ppl can help??? Please...
if (!isInRoom)
{
_effectMesh.MeshMaterial.color = Color.green;
MRUK.Instance.ClearScene();
MRUK.Instance.LoadSceneFromDevice();
}
Thank you.
GL
1 Reply
- SpaceDude666Honored Guest
You can use OVRScene.RequestSpaceSetup() to prompt the user to scan a new room.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 years ago
- 5 months ago
- 4 years ago