-
Notifications
You must be signed in to change notification settings - Fork 557
fix: in scene NetworkObject null reference exception when hit/destroyed [MTT-11939] #908
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: in scene NetworkObject null reference exception when hit/destroyed [MTT-11939] #908
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few questions and nit picks but overall looks good :)
feel free to ignore the nit picks if it's too much hassle to handle them
seems like you have a few lingering whitespaces that Yamato complains about: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Description
This PR fixes a NullReference exception logged when striking a Breakable object with a Melee action. Health NetworkVariables and max hp values have been generated for prefabs generating exceptions.
Issue Number(s)
MTT-11939
Contribution checklist