Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
CrouchOculus's avatar
CrouchOculus
Honored Guest
6 years ago

New scene loads and I no longer have any controller input

Using Unity 2018.3.6f1 and Oculus Integration 1.35, Platform sdk 1.34
Developing for the Oculus Go


I have three scenes that load up via the standard "scenemanager.loadscene(scenenumber);" line of code.
When the new scene loads I get this:

[OVRNetworkTcpServer] Stopped listening
[OVRSystemPerfMetricsTcpServer] server destroyed
[OVRNetworkTcpServer] EndAcceptTcpClient failed: The object was used after being disposed.

I then lose all input functionality.
The camera still runs fine but I can no longer access menus.

Is there something I am missing here? I remember building Oculus apps and moving scene to scene with out issue. All I want to do is load another VR scene from a main menu.

1 Reply

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    My guess is that your OVRinputManager got destroyed from one scene to the next - and then it is trying to be referenced for the controllers but is now void/null.  You might be able to fix it by re instantiating this when the new scene loads up.  I know that was a vague answer, the docs are here - https://developer.oculus.com/documentation/unity/latest/concepts/unity-ovrinput/