Search Issue Tracker
Fixed
Votes
5
Found in [Package]
5.0.1
Issue ID
WBTRB-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"
Comments (2)
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.