Search Issue Tracker
Fixed
Votes
5
Found in [Package]
5.0.1
Issue ID
GFXTRB-83
Regression
Yes
Multiple errors are thrown on selecting Paint Terrain tool
Steps to reproduce:
1. Open the attached "terrain213.zip" project
2. Open the SampleScene located in Assets\\Scenes
3. In the Hierarchy window select Terrain
4. In the Inspector window, under the Terrain component select the Paint Terrain tool
5. Observe the Console window
Expected result: the are no errors displayed
Actual result: there are multiple errors displayed, one of which reads: "Retrieving array element that was out of bounds"
Reproducible with: 2021.2.15f1, 2021.2.19f1, 2021.3.1f1
Not reproducible with: 2019.4.38f1, 2021.2.14f1, 2022.1.0f1, 2022.2.0a11
Notes:
- Reproduction requires any version of the Terrain Tools package to be installed (reproduces using any package version in the affected Editor versions)
- Can also be reproduced by selecting different Terrain tools under the Paint Terrain tool
- If it doesn't reproduce on the first try, open any other scene and then repeat steps from step 2
- Selecting different Terrain tools can also sometimes "break" the Inspector window
- Disabling and then enabling the Terrain component resolves these issues
- First few error messages:
"Retrieving array element that was out of bounds"
"NullReferenceException: Object reference not set to an instance of an object"
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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
- The build size is larger when Models have Animation Type set to Generic
Vincent13122
Jan 05, 2023 17:53
PLEASE Unity, the terrain tools are literally unusable??
kaan0550
Aug 10, 2022 12:01
Vote please, they delay if you dont vote. This is so annoying error.