Search Issue Tracker
Fixed
Fixed in 6000.4.0a6, 6000.5.0a1
Votes
0
Found in
2022.3.58f1
6000.0.38f1
6000.1.0b5
6000.2.0a2
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-97274
Regression
No
“ArgumentException: Object reference not set to an instance of an object” errors are thrown when adding the component with Entity as Key for HashMap
Reproduction steps:
1. Open the attached “EcsPlayground.zip” project
2. Enter the Play Mode
3. Observe the Console window
Expected result: No errors are thrown
Actual result: “ArgumentException: Object reference not set to an instance of an object” errors are thrown
Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b5, 6000.2.0a2
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Workaround: Replace {{UnsafeHashMap<Entity, ...>}} with {{UnsafeHashMap<CertainlyNotAnEntity, ...>}}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Scale Snapping with Gizmos does not work in the Scene view when Snapping and Absolute Grid Snapping are toggled off
Add comment