Search Issue Tracker
Active
Votes
0
Found in
2022.3.58f1
6000.0.38f1
6000.1.0b5
6000.2.0a2
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
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
- Building the project for Web with ASTC Texture Compression results in black screen
- “ArgumentException: Object reference not set to an instance of an object” errors are thrown when adding the component with Entity as Key for HashMap
- Visual Effect Model overlays tooltip is left in Scene when unfocusing VFX Node and the overlay dropdown menu is opened
- Unity crashes during the scene template selection in the "Inspector" tab
Add comment