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
Mar 13, 2020 09:37
These are some great tools that i definitely use for SEO work. This is a great list to use in the future..
Notfallzahnarzt Bern https://www.dentcenter.ch/ -
jazibraza53
Mar 11, 2020 17:35
Awesome article! I want people to know just how good this information is in your article. It’s interesting, compelling content. Your views are much like my own concerning this subject.
The avenir condo https://www.the-avenircondos.com -
unity_K99WJS2TxGpRtA
Mar 08, 2020 14:47
I read a article under the same title some time ago, but this articles quality is much, much better. How you do this..
Stay Dry Roofing Repair Near Me https://www.staydryroofing.com/ -
unity_K99WJS2TxGpRtA
Feb 25, 2020 15:45
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
du lich tu tuc http://www.pokerinside.com/profiles/view/352804 -
unity_K99WJS2TxGpRtA
Feb 23, 2020 17:44
This is a brilliant blog! I'm very happy with the comments!..
<a href='http://www.ocfmc.com/a-residential-locksmith-professional/'>Residential Locksmith</a>
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