Search Issue Tracker
Fixed
Votes
0
Found in [Package]
4.0.3
5.0.3
5.1.0-pre.1
Issue ID
WBTRB-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
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
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/WBTRB-105