Skip to content

Commit

Permalink
fix: fix NullReferenceException
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-f committed Nov 11, 2024
1 parent 1ffc339 commit 388e7c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public class HierarchyStalker : EditorWindow
private const string XamlGuid = "b7750c11aaa0c954ea1fa8f1b6490f5a";

[SerializeField]
private List<Animation> _animations;
private List<Animation> _animations = new List<Animation>();

[SerializeField]
private List<AnimatorController> _controllers;
private List<AnimatorController> _controllers = new List<AnimatorController>();

private bool _isTracking;
private List<string> _selectionPaths;
Expand Down
2 changes: 1 addition & 1 deletion Assets/NatsunekoLaboratory/HierarchyStalker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cat.natsuneko.animation-auto-assignment",
"version": "0.3.1",
"version": "0.3.2",
"displayName": "Animation Auto Assignment",
"description": "Unity Editor Extension that tracks changes on hierarchy and automatically repairs animation property paths.",
"unity": "2019.4",
Expand Down

0 comments on commit 388e7c3

Please sign in to comment.