Forum Discussion
CrouchOculus
6 years agoHonored Guest
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.
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
- AnonymousMy 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/
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
- 1 year ago
- 2 years ago