Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed possible NRE when properties start disabled #24

Merged

Conversation

Gusinuhe
Copy link
Contributor

@Gusinuhe Gusinuhe commented Jul 8, 2020

Description

we only got the reference to the interactable OnEnable which caused a npe when disabled objects where locked. Fixed it by adding a getter which cares about that.

Copy link
Contributor

@Maxsiom Maxsiom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :D

@Gusinuhe Gusinuhe changed the title fix: fixed possible npe when properties start disabled fix: fixed possible NRE when properties start disabled Jul 8, 2020
@Gusinuhe Gusinuhe merged commit 6f34e4a into develop Jul 8, 2020
@Gusinuhe Gusinuhe deleted the bugfix/fixed-possible-npe-when-gameobject-starts-disabled branch July 8, 2020 16:26
@ci-innoactive
Copy link
Collaborator

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants