Skip to main content
New Participant
January 26, 2014

OVRCameraController not destroyed between scenes

I've created a GameObject which implemented the OVRCameraController.

The problem is, when I load a new level using Application.LoadLevel, the OVRCameraController from the previous scene is not destroyed so there are multiple instances of it which causes some problems such as two audio listeners existing. There is no problem if I load the level directly from the editor.
    This topic has been closed for replies.

    2 replies

    Up and Coming
    January 26, 2014
    Just destroy your cameracontroller right before you change the scene.
    New Participant
    January 26, 2014
    I've tried destroying it, but it still somehow instantiate a new one each time I change scenes.

    I don't know why but the problem suddenly gone when I create an empty gameobject and attach the OVRCameraController prefab as it's child. lol