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
- Static Editor Flags dropdown list is cut off when Inspector Window is docked to the very right and UI Scaling is set to a higher value
- visionOS Players are minimized when Guided Access is turned on
- Licensing Client fails to launch when opening Unity Hub
- Sprite Atlas Inspector preview disappears when entering Play mode unless SpriteAtlasMode is set to "Sprite Atlas V2 - Enabled"
- Opening reference for Audio Importer opens missing page
Add comment