Search Issue Tracker
Fixed
Fixed in 3.2.0-pre.4
Votes
0
Found in [Package]
3.2.0-pre.3
Issue ID
TMPB-120
Regression
No
MissingReferenceException thrown when changing Scenes
Reproduction steps:
1. Open the attached project “TmpProSubMesh”
2. Open “Asset Bundles/Build For Platform” from the menu bar and click “Build”
3. Enter Play mode
4. Click the “LoadAssets” button in Game view
5. Select the AssetBundleManager in the Hierarchy window
6. Make sure “Available Bundles” is populated in the Inspector window
7. Click the “Quest” button in Game view to open the “Quest” Scene
8. Click the “Return to Start” button to open the “Start” Scene
Expected result: No errors are logged in the Console window
Actual result: An error is logged:
MissingReferenceException: The object of type 'Material' has been destroyed but you are still trying to access it.
Reproducible with: 3.2.0-pre.3 (2020.3.39f1, 2021.3.10f1, 2022.1.16f1)
Could no test with: 4.0.0-pre.1 (error CS0029: Cannot implicitly convert type 'uint[]' to 'int[]’), 2022.2.0b8, 2023.1.0a10 (Various errors when building asset bundles)
Reproducible on: macOS 12.4 (Intel)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment