steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

Initialize hideHighlight in Interactable.cs

Open tapiralec opened this issue 3 years ago • 1 comments

Fixes issue where creating Interactables at runtime by using AddComponent<Valve.VR.InteractionSystem.Throwable>() on a GameObject would throw null reference exception due to hideHighlight not being initialized, preventing itself and its children from showing highlighting.

tapiralec avatar Jan 27 '22 21:01 tapiralec

Thanks for the catch, and the PR. This will be in the next release.

zite avatar Feb 09 '23 18:02 zite