Skip to main content
Up and Coming
May 18, 2013

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?
    This topic has been closed for replies.

    3 replies

    JerwareAuthor
    Up and Coming
    May 18, 2013
    Sorry, 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?
    Inspiring
    May 18, 2013
    I'm getting the same error. Anybody out there have any ideas?
    Inspiring
    May 20, 2013
    Hello 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
    Peter Giokaris Senior Software Engineer