Search Issue Tracker
Fixed
Fixed in 2021.3.39f1, 2022.3.28f1, 6000.0.1f1
Votes
0
Found in
2021.3.36f1
2022.3.21f1
2023.2.14f1
6000.0.0b11
Issue ID
UUM-67250
Regression
No
"MissingComponentException" errors are thrown when using Terrain with no Terrain Collider
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/OutdoorsScene“ scene
3. Select the “Terrain” GameObject in the Hierarchy window
4. Click on the “Paint Details“ button in the Inspector window
5. Observe the Console window
Expected result: No errors are thrown in the Console window
Actual result: “MissingComponentException: There is no 'TerrainCollider' attached to the "Terrain" game object, but a script is trying to access it.“ errors are thrown in the Console window
Reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.14f1, 6000.0.0b11
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Resolution Note (fix version 6000.0.1f1):
When a user removes a TerrainCollider component from a Terrain object, there are no longer MissingComponentExceptions thrown every frame. Instead, it is replaced with a warning in the inspector for every tool that involves painting (Paint Terrain, Paint Trees, Paint Details) since painting depends on the TerrainCollider.
Resolution Note (fix version 2022.3.28f1):
When a user removes a TerrainCollider component from a Terrain object, there are no longer MissingComponentExceptions thrown every frame. Instead, it is replaced with a warning in the inspector for every tool that involves painting (Paint Terrain, Paint Trees, Paint Details).
Resolution Note (fix version 2021.3.39f1):
When a user removes a TerrainCollider component from a Terrain object, there are no longer MissingComponentExceptions thrown every frame. Instead, it is replaced with a warning in the inspector for every tool that involves painting (Paint Terrain, Paint Trees, Paint Details).