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
Jun 16, 2020 06:09
Thank you for very usefull information..
check my site https://images.google.co.tz/url?q=http://rogueadvocates.org/ -
unity_K99WJS2TxGpRtA
Jun 15, 2020 09:56
Wonderful article, thanks for putting this together! This is obviously one great post. Thanks for the valuable information and insights you have so provided here.
Rope Bunny https://www.sofyee.com/collections/rope-bunny -
unity_K99WJS2TxGpRtA
Jun 14, 2020 13:04
Nice to read your article! I am looking forward to sharing your adventures and experiences.
Sukajan Jackets https://kokoakeiko.com/collections/sukajan -
johndd110
Jun 13, 2020 21:10
You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!
check here https://images.google.kz/url?q=http://rogueadvocates.org/ -
unity_K99WJS2TxGpRtA
Jun 13, 2020 12:16
This is actually the kind of information I have been trying to find. Thank you for writing this information.
kangen water system https://www.buzzfeed.com/de/kangen -
johndd110
Jun 11, 2020 16:37
Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done.
máy lọc nước kangen nhật bản http://www.authorstream.com/kangen11/ -
unity_K99WJS2TxGpRtA
Jun 10, 2020 14:31
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.
máy lọc nước kangen nhật bản https://lookbook.nu/user/7528012-Dantri -
unity_K99WJS2TxGpRtA
Jun 05, 2020 08:20
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
check this out http://www.google.tm/url?q=http://www.spekuliantai.lt/ -
unity_K99WJS2TxGpRtA
Jun 03, 2020 10:33
You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!
Zahnarztpraxis Bern https://www.dentcenter.ch/ -
unity_K99WJS2TxGpRtA
Jun 02, 2020 09:12
I like this post,And I guess that they having fun to read this post,they shall take a good site to make a information,thanks for sharing it to me.
gesichtmaske https://www.hewecon.de/
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