SteamVR v2.2b4 input window GUILayoutUtility error
See original GitHub issueThere are errors when generating inputs using the SteamVR Input window:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUILayoutUtility.LayoutFromContainer (Single w, Single h) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:182)
UnityEngine.Experimental.UIElements.UIElementsUtility.EndContainerGUI () (at C:/buildslave/unity/build/Runtime/UIElements/Managed/UIElementsUtility.cs:164)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:272)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:335)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoRepaint (IStylePainter painter) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:69)
UnityEngine.Experimental.UIElements.Panel.PaintSubTree (UnityEngine.Event e, UnityEngine.Experimental.UIElements.VisualElement root, Matrix4x4 offset, Rect currentGlobalClip) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/Panel.cs:532)
UnityEngine.Experimental.UIElements.Panel.PaintSubTreeChildren (UnityEngine.Event e, UnityEngine.Experimental.UIElements.VisualElement root, Matrix4x4 offset, Rect textureClip) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/Panel.cs:547)
UnityEngine.Experimental.UIElements.Panel.PaintSubTree (UnityEngine.Event e, UnityEngine.Experimental.UIElements.VisualElement root, Matrix4x4 offset, Rect currentGlobalClip) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/Panel.cs:536)
UnityEngine.Experimental.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/Panel.cs:564)
UnityEngine.Experimental.UIElements.UIElementsUtility.DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/UIElementsUtility.cs:236)
UnityEngine.Experimental.UIElements.UIElementsUtility.ProcessEvent (Int32 instanceID, IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Runtime/UIElements/Managed/UIElementsUtility.cs:78)
UnityEngine.GUIUtility.ProcessEvent (Int32 instanceID, IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs:175)
Windows 10 Unity 2017.3.1f1
Repro Steps:
- Ceate a new project
- Download https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.2b4 source zip do not use the unity package as it seems that this unity package is not the correct version
- Open the SteamVR input window and click “Save and generate”
Expected Behavior Inputs are generated
Observed Behavior It starts generating inputs and it gets stuck while showing errors in the console.
Note The Unity package in this link https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.2b4 Seems to be an incorrect version, it doesnt contain the same files as the zip file
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
SteamVR v2.2b4 NullReferenceException in ...
I have tried to delete Player and re-introduce it and to re-save and generate the bindings and nothing has changed. If clicked, the...
Read more >Problems with Steam VR-input action manifest
When I open the SteamVR-Input-menu under window>SteamVRInput, it shows multiple in- and outputs of the same type. I tried to delete them ...
Read more >Media player controls not working - SteamVR
Launch SteamVR Media Player. · Open Task Manager. · (Windows 10) Click More Details · Find the steamvr_media_player.exe entry and expand it ·...
Read more >Steam VR fatal error every 20-30min : r/WindowsMR
Playing VR chat I seem to be crashing every 20-30min with it saying steamvr fatal error Could there be any setting that I...
Read more >Unity & Steam VR Startup Errors
1 from the asset store. You have to initialize the VR Input in your Project. Go to Window -> SteamVR Input (you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for the reports. I’m updating the beta branch again with my changes so the zip files will correctly reflect the unitypackage that is intended for people to use. The beta 5 release should fix these problems. https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.2
Fixed in current release.