cancel
Showing results for 
Search instead for 
Did you mean: 

MRUK: Unable to Load a new Scene from the device when changing physical room

neurograph
Explorer

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 1

SpaceDude666
Honored Guest

You can use OVRScene.RequestSpaceSetup() to prompt the user to scan a new room.