Mysterious "Attempting to determine the size of an unknown feature type Id [-1]."

Hello,

I’ve started to get hundreds of thousands of errors such as the one shown below when I run the game in play mode. The only thing I changed was adding the “HMD Mockup” headset in my VR project, to debug the game without having to wear the headset every time.

I can’t pinpoint exactly why it is happening, would you know how to fix it?
I’m on Unity 2020.1.13f1 and URP.

Attempting to determine the size of an unknown feature type Id [-1].
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

6616846--753529--upload_2020-12-13_13-49-8.png

I am having the same issue. Did you ever find a solution to this?

I reported this bug to Unity, they acknowledged and the bug is under review, now we have to wait for a fix, nothing much we can do on our side.

Having this same issue.

Having same issue. Any update yet?

Was no fix found?

My issue is with the Mock HMD, and XR Interaction Toolkit on Unity 2020.3.9f1.

The error only shows when I’ve enabled Mock HMD Loader, in the XR Plug-in Management tab in Project Settings.

If I disable it, it goes away.

With pre-set VR Project, I can’t control the input of the Mock HMD, with a Standard Project adding plug-ins for VR manually, I can control the input.

However, both instances display the same error as OP.

Until it’s resolved I have to wear the HMD for development… Sadface.

1 Like

Strangest thing, in the XR Plug-in Management tab, I unchecked/unticked Oculus, and checked/ticked Open XR, and unchecked/unticked Mock HMD Loader, and the error went away. And allowed me to use the Mock HMD controls simulating a HMD… This is for the Standard project setup, adding Open XR manually.

1 Like

I just had this issue and fixed it here: