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
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
Add comment