Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
4.0.3
5.0.3
5.1.0-pre.1
Issue ID
GFXTRB-90
Regression
Yes
"MissingReferenceException: The object of type 'Material' has been destroyed but you are still trying to access it." thrown when exiting Play Mode
How to reproduce:
# Open the attached project "Corridors.zip"
# Open Window>Terrain>Terrain Toolbox
# Enter Play Mode
# Exit Play Mode
Expected results: No errors thrown in the Console window
Actual results: "MissingReferenceException: The object of type 'Material' has been destroyed but you are still trying to access it." is thrown in the Console window
Reproducible with: 4.0.3 (2021.3.18f1), 5.0.3 (2022.2.7f1), 5.1.0-pre.1 (2023.1.0b4, 2023.2.0a2)
Not reproducible with: 3.0.2-preview.3 (2020.3.45f1), 4.0.0 (2022.1.0a12)
Reproducible on: Windows 10
-
Resolution Note:
Duplicate of UUM-9856
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-9856
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] Postprocessing errors appear when using RenderGraph and NativeRenderPass
- Can't add a Scene to a Baking Set when it has just been deleted from the Set
- [iOS 17] "Malformed URL" error is thrown when using UnityWebRequest with a URI containing "[]"
- [Android] Player crashes at launch with error when built with custom Editor build
- Bloom effect is different from a standalone platform when a Scene uses HDRI lighting and the effect is used in WebGL
This is a duplicate of issue #UUM-9856