Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2021.1.0a1
2021.1.0a2
Issue ID
1286618
Regression
Yes
[Animation] IndexOutOfRangeException error is thrown on creating Animator Parameter
IndexOutOfRangeException error is thrown on creating animation parameter.
Steps to repro:
1. Create a new project.
2. Gameobject > 3D Object > Cube.
3. Select Cube > Windows > Animation > Create.
4. Project Window > Open Cube Animator > Click on the Parameter tab.
5. Click on "+" > Float.
Actual Result:
IndexOutOfRangeException error is thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2021.1.0a2, 2021.1.0a1.
Working Fine in:
2020.2.0b8, 2020.1.10f1.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
IndexOutOfRangeException: Index was outside the bounds of the array.
UnityEditor.Graphs.ParameterControllerView.AddParameterMenu (System.Object value) (at <492b4e7aa2b24ec0abeac998d966f035>:0)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at <193ca33d21dd486998e80992690939b0>:0)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0b2