-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Description
steps to reproduce:
- create new unity project (tested on 2020.1.16f1 with builtin rp)
- import steamvr package from package manager
- accept incoming settings and generate input
- go to interaction system sample scene
- focus on of the throwables or anything else that has a skeleton poser script on it
- click on the left or right hand symbol in the skeleton poser editor to the make the preview model show up in the scene view
- close and reopen project
the skeleton poser will now be broken project-wide. whenever you click one of the hands to bring up the preview model, the skeleton poser UI will break into an unrecognizable mess and you'll get the following error in the console:
ArgumentException: The Object you want to instantiate is null.
UnityEngine.Object.Instantiate[T] (T original) (at <fe84f4a754da4a6bb64fca409d40938a>:0)
Valve.VR.SteamVR_Skeleton_PoserEditor.UpdatePreviewHand (UnityEditor.SerializedProperty instanceProperty, UnityEditor.SerializedProperty showPreviewProperty, UnityEngine.GameObject previewPrefab, Valve.VR.SteamVR_Skeleton_Pose_Hand handData, Valve.VR.SteamVR_Skeleton_Pose sourcePose, System.Boolean forceUpdate) (at Assets/SteamVR/Input/Editor/SteamVR_Skeleton_PoserEditor.cs:102)
Valve.VR.SteamVR_Skeleton_PoserEditor.DrawPoseEditorMenu () (at Assets/SteamVR/Input/Editor/SteamVR_Skeleton_PoserEditor.cs:598)
Valve.VR.SteamVR_Skeleton_PoserEditor.OnInspectorGUI () (at Assets/SteamVR/Input/Editor/SteamVR_Skeleton_PoserEditor.cs:442)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <c5b8ea301f1f41bf85e0302c2ee96b92>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
this is what it looks like in Unity, note the UI mess that used to be the skeleton poser in the bottom right:

workoaround in case anybody else is having trouble with this:
try closing and restarting steamvr and entering and exiting play mode in unity a bunch of times until the ui comes back
Metadata
Metadata
Assignees
Labels
No labels