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, ...>}}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.