Skip to main content
New Participant
November 16, 2022

Entitlement check keeps failing with UnityException: Request with no handler. This should never hap

For some reason since updating to integration 43/44/46 I keep getting an error during entitlement checking.

Unity 2021.1.21f1

 

UnityException: Request with no handler. This should never happen.
Oculus.Platform.Request`1[T].HandleMessage (Oculus.Platform.Message msg)
(at Assets/Oculus/Platform/Scripts/Request.cs:72) Oculus.Platform.Callback.HandleMessage (Oculus.Platform.Message msg)
(at Assets/Oculus/Platform/Scripts/Callback.cs:162) Oculus.Platform.Callback.RunCallbacks ()
(at Assets/Oculus/Platform/Scripts/Callback.cs:61) Oculus.Platform.Request.RunCallbacks (System.UInt32 limit)
(at Assets/Oculus/Platform/Scripts/Request.cs:130) Oculus.Platform.CallbackRunner.Update ()
(at Assets/Oculus/Platform/Scripts/CallbackRunner.cs:28)

 

I'm also unable to get Visual Studio debugger to pick this up, so it's rather hard to see what is going on.

 

Anyone run into this before? Did something change in how to do entitlement checks?

    This topic has been closed for replies.

    1 reply

    svenneveAuthor
    New Participant
    November 16, 2022

    Okay, found the issue, the problem was right there in the error report (even though it's a bit vague)

     

    so

     

    Oculus.Platform.Request request = Oculus.Platform.Core.AsyncInitialize(Oculus.Platform.PlatformSettings.MobileAppID);

     

    should become 

     

    Oculus.Platform.Request<Oculus.Platform.Models.PlatformInitialize> request = Oculus.Platform.Core.AsyncInitialize(Oculus.Platform.PlatformSettings.MobileAppID);