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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/WBTRB-105