You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why the assigned SteamVR actions are being changed by themselves when I load a prefab that has some interactables?
See this video:
Observe how the actions just change, the loaded prefab has no logic to change them, it just has a bunch of interactables.
[EDIT] Doing some more testing it doesn't require to drag the prefab to the scene, the actions change by just selecting the prefab in the Project Tab.
I have been on Unity 2020.3.27 for some time but this started to happen recently so is not related to the Unity version.
The only thing that changed recently is the SteamVR client which was updated to 1.21.12 recently.
Additionally every time this happens in the editor the file Open VR Settings.asset gets modified but I didnt change anything on it.
Another note is that this happens right after I get the error
NullReferenceException: Object reference not set to an instance of an object
Valve.VR.SteamVR_Action`2[SourceMap,SourceElement].get_Item (Valve.VR.SteamVR_Input_Sources inputSource) (at Assets/Imported/SteamVR/Input/SteamVR_Action.cs:44)
It seems sourceMap is null for some reason.
Why the assigned SteamVR actions are being changed by themselves when I load a prefab that has some interactables?
See this video:
Observe how the actions just change, the loaded prefab has no logic to change them, it just has a bunch of interactables.
[EDIT] Doing some more testing it doesn't require to drag the prefab to the scene, the actions change by just selecting the prefab in the Project Tab.
I have been on Unity 2020.3.27 for some time but this started to happen recently so is not related to the Unity version.
The only thing that changed recently is the SteamVR client which was updated to 1.21.12 recently.
Additionally every time this happens in the editor the file Open VR Settings.asset gets modified but I didnt change anything on it.
Another note is that this happens right after I get the error
NullReferenceException: Object reference not set to an instance of an object
Valve.VR.SteamVR_Action`2[SourceMap,SourceElement].get_Item (Valve.VR.SteamVR_Input_Sources inputSource) (at Assets/Imported/SteamVR/Input/SteamVR_Action.cs:44)
It seems sourceMap is null for some reason.
This issue seems very similar to #616
Im using the SteamVR Unity Plugin - v2.7.3 (sdk 1.14.15)
Thanks for any help.
The text was updated successfully, but these errors were encountered: