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)
-
ayanshah10001
Mar 31, 2020 10:57
I am glad you take pride in what you write. This makes you stand way out from many other writers that push poorly written content. https://ardailymagazine.com/
-
ayanshah10001
Mar 30, 2020 11:38
I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. https://bestdrugrehabnj.nethouse.me/
-
kousarseo
Mar 29, 2020 16:13
Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. <a href="https://open.spotify.com/album/2RNoWjFEaDk6dgFOFCPFt9">Thunderstorm & Rain</a>
-
kousarseo
Mar 29, 2020 10:49
I read your blog frequently, and I just thought I’d say keep up the fantastic work! It is one of the most outstanding blogs in my opinion. <a href="http://156.67.219.173/">bandarkiu</a>
-
kousarseo
Mar 23, 2020 09:55
i never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful. <a href="http://www.seahawksofficialonlinestore.com/2020/03/10/nike-corporate-office-contacts-amazing-benefits/">complaint email</a>
-
kousarseo
Mar 19, 2020 15:06
Im no expert, but I believe you just made an excellent point. You certainly fully understand what youre speaking about, and I can truly get behind that. <a href="https://www.eyyaa.com/best-corner-tv-mount-75-inch/">best corner TV mounts 75 inches, corner TV mounts 75 inches review, best corner TV mounts 75 inches</a>
-
kousarseo
Mar 19, 2020 07:46
Im no expert, but I believe you just made an excellent point. You certainly fully understand what youre speaking about, and I can truly get behind that. <a href="https://www.eyyaa.com/best-corner-tv-mount-75-inch/">best corner TV mounts 75 inches, corner TV mounts 75 inches review, best corner TV mounts 75 inches</a>
-
unity_K99WJS2TxGpRtA
Mar 18, 2020 16:14
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.
Evergreen Co https://denvermountainhomes.com -
unity_K99WJS2TxGpRtA
Mar 16, 2020 08:54
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
Zahnarzt Luzern https://www.drsternina.ch/ -
unity_K99WJS2TxGpRtA
Mar 14, 2020 13:02
Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot.
business cards near me https://ameri-print.com/products/business-stationery-new-orleans-metairie/
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