Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2020.1.0a4
2020.1.0a13
Issue ID
1198750
Regression
Yes
[Animation] NullReferenceException is thrown when New Script is Added to Animation State from "Add Behaviour" in the Inspector
Adding New Script to Animation State causes editor to throw NullReferenceException, Refer attached video
Steps to repro:
Create a new Project
Project > right-click > Create > Animator Controller > Open
Animator Blackboard > right-click > Create State > Empty
Select "New State"
Inspector > Add Behaviour > New Script > Enter Name > Create and Add
Actual Result:
NullReferenceException errors are thrown in the console on adding New Script to Animation State.
Expected Result:
New script is added to Animation State without any exceptions
Reproducible in:
2020.1.0a13, 2020.1.0a4
Working Fine in:
2020.1.0a3, 2019.3.0b11.
Environment:
Windows 10 & macOS 10.14.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.AnimationStateMachine.StateMachineBehaviorsEditor.BuildEditorList (UnityEngine.StateMachineBehaviour[] behaviours) (at <fbf7b765d0734eb5a695036ccdd28df5>:0)
UnityEditor.Graphs.AnimationStateMachine.StateMachineBehaviorsEditor.OnInspectorGUI () (at <fbf7b765d0734eb5a695036ccdd28df5>:0)
UnityEditor.Graphs.AnimationStateMachine.StateEditor.OnInspectorGUI () (at <fbf7b765d0734eb5a695036ccdd28df5>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass55_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
-
unity_K99WJS2TxGpRtA
May 18, 2020 06:36
It proved to be Very helpful to me and I am sure to all the commentators here!
mua tai nghe game thủ https://www.google.com/maps/d/viewer?mid=1xM7giSgQNxFMMQyN1UVXedwQYyFJJda8&ll=10.759576449589808%2C106.84596833396756&z=8 -
unity_K99WJS2TxGpRtA
May 18, 2020 06:33
Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up.
mua tai nghe game thủ https://www.google.com/maps/d/viewer?mid=1xM7giSgQNxFMMQyN1UVXedwQYyFJJda8&ll=10.759576449589808%2C106.84596833396756&z=8 -
kousarseo
May 11, 2020 09:19
That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally! http://interqq.inforeclosure.net/
-
unity_K99WJS2TxGpRtA
Apr 12, 2020 10:42
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
Zahnarzt Zürich https://www.styleyoursmile.ch/ -
unity_K99WJS2TxGpRtA
Apr 11, 2020 07:15
Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article.
xo so mien bac hom nay https://www.blurb.com/user/xosovuiss?profile_preview=true -
unity_K99WJS2TxGpRtA
Apr 10, 2020 15:31
Thanks so much for sharing this awesome info! I am looking forward to see more posts by you!
cupom desconto amazon livros https://network.changemakers.com/profiles/cupomatoss -
unity_K99WJS2TxGpRtA
Apr 05, 2020 08:37
Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!THANKS!!!!!!
Rèm văn phòng giá rẻ https://www.blurb.com/user/thegioiremxx?profile_preview=true -
unity_K99WJS2TxGpRtA
Apr 02, 2020 08:36
Thank you very much for this useful article. I like it.
car stereo installation https://www.solcontrolcustomsandtint.com/car-audio/ -
kousarseo
Apr 02, 2020 07:40
Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. <a href="https://bitbucket.org/buymore123/fastpsdfs/downloads/custom_writing.pdf">custom writings</a>
-
ayanshah10001
Mar 31, 2020 12:41
Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as ABC.https://blackrockconsultpro.com/contact
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph link contrasts fail WCAG guidelines
- D3D12 PSO disk cache feature crashes if paths contain non-ASCII characters
- Different colors are present when Alpha channel is unclamped
- Visual Effects Forums link leads to generic Unity Forums
- The dithering node returns a blocky effect when the Render Scale is set to some values below 1
Resolution Note (fix version 2020.1):
Regression introduced in 2020.1.0a4 by case 1173312