Search Issue Tracker
By Design
Votes
0
Found in [Package]
0.9.1-preview.15
Issue ID
1237220
Regression
No
[ECS] Entity Debugger Inspector throws NullReferenceException when invalid Entity field is present
Reproduction steps:
1. Open attached project "BadEntity.zip" and scene "SampleScene"
2. Enter Play Mode
3. In Entity Debugger window, select "GameObject" entity
4. Observe Console window
Expected result: Inspector properly handles the invalid entity
Actual result: NullReferenceException is thrown
Reproducible with: 2019.3.11f1, 2020.1.0b6, 2020.2.0a7
Could not test with: 2018.4.21f1 (Entities package unavailable)
Reproducible with package versions: 0.2.0-preview.18, 0.9.1-preview.15
Could not test with package versions: 0.1.1-preview (GenerateAuthoringComponentAttribute unavailable)
Notes:
1. With earlier package versions (0.2.0-preview.18, 0.6.0-preview.24), Editor crashes on entering Play Mode
2. In the repro project, the issue occurs only when the public variable za in "GameObject" is set to any non-zero value.
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
We won't support union directly in the inspector but fixed invalid Entity value breaking the inspector.