Search Issue Tracker

Fixed in 2020.1

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

Animation

-

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)

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Regression introduced in 2020.1.0a4 by case 1173312

Comments (57)

  1. 4fad788ab2d1c211c4007aaa06bd58cf?d=mm

    helenrichard03

    Oct 28, 2020 12:09

    If you need to hack into any phone or computer, monitor someone’s communications like calls text, WhatsApp twitter, snapchat, Facebook, database, delete record, monitoring your spouse’s cheating activities, improve credit score, retrieve or spy on your partners whatsapp, text, phone, emails, bank account and many more… Just contact wizardcyberfileshacker@gmail.com, or whatsapp him on +1 (781) 312-9232  he is reliable and efficient

  2. 85c58b7e85286f135e5b7152a4beb6cb?d=mm

    officelaptop004

    Aug 18, 2020 11:49

    Yavoo, I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.
    Seo Gatineau https://seocanada246321242.wordpress.com/

  3. 592516a49927a8a944da7644ada256a8?d=mm

    unity_K99WJS2TxGpRtA

    Jul 24, 2020 11:06

    Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.
    giá máy triệt lông opt shr https://www.docdroid.net/59i5Bmg/methods-of-hair-removal-compared-3-docx

  4. 7948c5f9c66bd06a22b5cc1ba234e146?d=mm

    pyjehefy

    Jul 11, 2020 10:32

    Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards,
    click here https://www.google.ca/url?q=https://cglawms.com

  5. Ab274eb8e6555df5fded293c925d4a49?d=mm

    kimperlylopez

    Jul 10, 2020 03:36

    I lost my bitcoin to fake blockchain.com impostors on Facebook, they contacted me as blockchain official support and i fell stupidly for their mischievous act, this made them gain access into my blockchain wallet whereby 7.0938 btc was stolen from my wallet in total .I was almost in a comma and dumbfounded because this was all my savings i relied on . Then I made a research online and found a recovery expert , with the contact address- wizardcyprushacker@gmail.com WhatsApp +1 (424) 209-7204

    I wrote directly to the specialist explaining my loss. Hence, he helped me recover my bitcoin just after 2 days he helped me launch the recovery program , and the culprits were identified as well , all thanks to his expertise . I hope I have been able to help someone as well.

  6. 7948c5f9c66bd06a22b5cc1ba234e146?d=mm

    pyjehefy

    Jul 08, 2020 13:19

    These are some great tools that i definitely use for SEO work. This is a great list to use in the future..
    mental träning http://hiphopinferno.com/user/hypnosterapin

  7. 592516a49927a8a944da7644ada256a8?d=mm

    unity_K99WJS2TxGpRtA

    Jul 07, 2020 10:35

    You completed a few fine points there. I did a search on the subject and found nearly all persons will go along with with your blog.
    visit these guys https://maps.google.kz/url?q=https://monsterlegendzfree.com

  8. 7948c5f9c66bd06a22b5cc1ba234e146?d=mm

    pyjehefy

    Jul 06, 2020 12:36

    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.
    check out here https://maps.google.gp/url?q=http://bocaratonbitcoin.com

  9. 7948c5f9c66bd06a22b5cc1ba234e146?d=mm

    pyjehefy

    Jul 05, 2020 13:21

    This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. It is the old what goes around comes around routine.
    are speaking https://www.google.it/url?q=https://www.daringdarling.com/

  10. 592516a49927a8a944da7644ada256a8?d=mm

    unity_K99WJS2TxGpRtA

    Jul 05, 2020 10:17

    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.
    Silver Backs SEO https://silverbacksseo.com

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.