Skip to content

Initialize hideHighlight in Interactable.cs#1008

Open
tapiralec wants to merge 1 commit intoValveSoftware:masterfrom
tapiralec:patch-1
Open

Initialize hideHighlight in Interactable.cs#1008
tapiralec wants to merge 1 commit intoValveSoftware:masterfrom
tapiralec:patch-1

Conversation

@tapiralec
Copy link

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.

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.
@keithbradner
Copy link
Collaborator

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

@keithbradner keithbradner added the Fixed in next release Fix coming in next release label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fixed in next release Fix coming in next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants