Forum Discussion
Jerware
12 years agoExplorer
Error with Unity SDK 0.2.2
I imported the OculusUnityIntegration.unitypackage into my project, and now when I hit play in the editor my console gets spammed with this red error:
EntryPointNotFoundException: OVR_Update
OVRDevice.Update () (at Assets/OVR/Scripts/OVRDevice.cs:267)
Any ideas? Did something not import correctly?
EntryPointNotFoundException: OVR_Update
OVRDevice.Update () (at Assets/OVR/Scripts/OVRDevice.cs:267)
Any ideas? Did something not import correctly?
3 Replies
Replies have been turned off for this discussion
- JerwareExplorerSorry, false alarm. I just rebooted Unity and the problem went away. However, I now get this error instead (just once, not spammed):
BroadcastException: Broadcasting message "Sensor_Attached" but no listener found. Try marking the message with Messenger.MarkAsPermanent.
OVRMessenger.OnBroadcasting (System.String eventType) (at Assets/OVR/Scripts/OVRMessenger.cs:162)
Should this script be rewritten to not require a listener? - CoreySauveExplorerI'm getting the same error. Anybody out there have any ideas?
- petergiokarisProtegeHello there,
There is a define in OVRMessenger.cs at the very top that has been left in:
#define REQUIRE_LISTENER
Listeners are not required for these messages, so removing this define is completely valid. OVRMainMenu.cs, which is used by OVRPlayerController, actually sets up the messages. However, most people are using OVRCameraController in their projects.
To remove the exception, comment out the define and it will keep this exception message from showing up. This will be fixed in the next release.
Thanks,
Peter
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