Search Issue Tracker
Fixed
Won't Fix in 1.0.X
Fixed in 1.1.0 - Entities
Votes
1
Found in [Package]
1.0.0
Issue ID
ECSB-300
Regression
No
“NullReferenceException" errors are thrown in Play mode when subscene editing is disabled
Reproduction steps:
1. Open the attached “InconsistentPrefabBehaviorRepro.zip“ project
2. Open the “Repro” scene
3. Enable Editing for “ecs” subscene in Hierarchy window and enter Play mode
4. Exit Play mode and observe the Console
5. Disable editing for “ecs” subscene and enter Play mode
6. Exit Play mode and observe the Console
Expected result: No errors are thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object
Unity.Entities.BlobAssetReferenceData.get_IsProtected () (at ./Library/PackageCache/com.unity.entities@1.0.0-pre.65/Unity.Entities/Blobs.cs:373)” errors are thrown
Reproducible with: 1.0.0-pre.65 (2022.2.16f1, 2023.1.0b13, 2023.2.0a11)
Could not test with: 0.17.0-preview.42 (2020.3.47f1), 0.51.1-preview.21 (2020.3.47f1, 2021.3.23f1) (Errors in the Console)
Reproduced on: macOS Monterey 12.6 (Intel), Windows 10 (by the reporter)
Note: Couldn't test in Build (Errors in the Console)
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 1.1.0 - Entities):
Now blob asset references should work in unmanaged shared components.
Resolution Note (1.0.X):
This is not fixed in 1.0. It's fixed in 1.1.