Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2021.3.X
Votes
0
Found in
2021.2.0a14
2021.2.19f1
2021.3
2022.1
2022.2
Issue ID
1423297
Regression
Yes
IndexOutOfRangeException is thrown when triggering ShowObjectPicker in a custom Node Graph
Reproduction steps:
1. Open the user's attached project
2. Open script "Assets/Examples/MathGraph/Editor/MathGraphEditor.cs"
3. Change the code and save it
4. Open asset "Assets/Examples/MathGraph/New Math Graph.asset"
5. Right-click the opened graph and select "Add existing Skill Node"
6. Observe the Console
Expected result: There are no errors in the Console
Actual result: IndexOutOfRangeException errors are thrown in the Console
Reproducible with: 2021.2.0a14, 2021.2.19f1, 2021.3.2f1, 2022.1.0f1, 2022.2.0a12
Not reproducible with: 2019.4.38f1, 2020.3.24f1, 2021.2.0a13
Notes:
- errors are only thrown after editing the MathGraphEditor.cs script and stop after relaunching the Editor
- errors are not thrown if Object Selector is set to "Advanced" in the Preferences
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
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
- [sw-unity-6-1] Scene view renders any light differently when more than one camera exists and neither have the "MainCamera" tag
- Project tab navigates to the previous folder when undoing (CTRL+Z) GameObject placement in the Scene
- Blue lines appear on the sides of the "Fit Canvas" or "Fit viewport" button when it's clicked in the UI Builder.
- PlayableDirector's state remains set to Playing even when the timeline's time property exceeds its duration.
Resolution Note (fix version 2022.2):
Fixed in version 2022.2.0a17