Search Issue Tracker
Fixed
Fixed in 6000.0.56f1, 6000.2.1f1, 6000.3.0a5
Votes
0
Found in
2022.3.64f1
6000.0.54f1
6000.1.14f1
6000.2.0b13
6000.3.0a3
Issue ID
UUM-113046
Regression
No
NullReferenceException is thrown when creating State from a Selected Clip if that Clip is a Blend Tree
Steps to reproduce:
- Open any Project
- Import the attached Unity Package
- In the Project Browser search for "v2Animator" and open it
- Double click the State "Running Blendtree"
- Select either the "Walk" or "Run" Blend Tree
- Go back to the Base Layer and right click anywhere on the black board
- Select "Create State > From Selected Clip"
Actual results: Error "NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.AnimationStateMachine.GraphGUI.AddStateFromSelectedMotionCallback (System.Object data) (at <ba877b655e90405cae8628ad9b835066>:0)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at <dff6788e8d804d65aac3289e2f500ade>:0)" is logged
Expected results: No Error is logged and Blend Tree is not considered as a selected Clip
Reproducible with versions: 2022.3.64f1, 6000.0.54f1, 6000.1.14f1, 6000.2.0b13, 6000.3.0a3
Tested on (OS): Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment