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)
-
pyjehefy
Jul 05, 2020 09:26
The information you have posted is very useful. The sites you have referred was good. Thanks for sharing...
California Surfing http://www.topcitysearches.com/ -
pyjehefy
Jul 04, 2020 16:47
Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
try this https://maps.google.com.hk/url?q=http://bocaratonbitcoin.com -
unity_K99WJS2TxGpRtA
Jul 04, 2020 10:01
Friend, this web site might be fabolous, i just like it.
see this website https://maps.google.com.sg/url?q=https://federicogavazzi.com/ -
pyjehefy
Jul 03, 2020 19:24
Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
our site https://maps.google.hr/url?q=https://www.daringdarling.com/ -
pyjehefy
Jun 30, 2020 15:46
Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
check out the post right here https://images.google.me/url?q=https://www.daringdarling.com/ -
johndd110
Jun 29, 2020 08:40
This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work
he said https://images.google.com.sl/url?q=https://www.daringdarling.com/ -
johndd110
Jun 28, 2020 20:52
Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have.
Eagle dentist near me https://www.northstardentistryidaho.com/services/ -
johndd110
Jun 27, 2020 18:14
Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article.
check out here https://images.google.co.vi/url?q=https://www.daringdarling.com/ -
unity_K99WJS2TxGpRtA
Jun 21, 2020 13:13
Very useful info. Hope to see more posts soon!.
visit this link https://images.google.me/url?q=http://onlineboxing.net/jforum/user/edit/42481.page -
unity_K99WJS2TxGpRtA
Jun 20, 2020 13:04
Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.
this site https://images.google.ga/url?q=https://www.question2answer.org/qa/user/sanskritizz
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