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
- UI Source Image property gets set to 'None' when using a specific Sprite and Play mode is entered
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
Add comment