remove null reference during destroy on PoseEditor #159
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/HSPlugins!159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
issue:
when i try to exit studio, i meet null reference like below
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
at HSPE.AMModules.BlendShapesEditor.OnDisable () [0x0003b] in <57951205e4844ff1af8e92ebb1481ac1>:0
at (wrapper delegate-invoke) .invoke_void()
at HSPE.PoseController.OnDisable () [0x00000] in <57951205e4844ff1af8e92ebb1481ac1>:0
solution:
check null pointer before variable used.