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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
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.