Search Issue Tracker
Fixed
Fixed in 1.3.X - Entities
Votes
0
Found in [Package]
1.2.3 - Entities
1.3.X - Entities
Issue ID
ECSB-1141
Regression
No
"NullReferenceException" errors are thrown when UnityObjectRef does not prevent asset from being garbage collected
Reproduction steps:
1. Open the attached “MissingAsset.zip” project
2. Open the “SampleScene” scene
3. Ensure that the “NewSubScene” in the Hierarchy is opened (the checkbox next to it is checked)
4. From the top menu click on Test > GC assets
5. Observe the Console
Expected result: No errors are thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object” errors are constantly thrown
Reproducible with: 1.2.1, 1.2.3 (2022.3.33f1, 6000.0.6f1)
Could not test with: 0.51.1-preview.21 (2021.3.39f1) (Could not resolve the Console errors)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note: In the 2022.3.33f1 version the errors appear when hovering over the Scene or Game view
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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 1.3.X - Entities):
This will be fixed in the 1.3.0 release.