Search Issue Tracker

Fixed in 0.11.0

Votes

0

Found in [Package]

preview.6 - 0.10.0

Issue ID

1244299

Regression

Yes

[ECS] EntityQuery.CopyFromComponentDataArray is copying memory the wrong way

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open user-submitted project (CopyFromComponentDataArrayBug.zip)
2. Open the SampleScene
3. Enter Play Mode and check the Console window

Expected result: entity values match expected values(1/1/1 and 1/1/1) and array values match expected values(1/1/1 and 1/1/1)
Actual result: entity values don't match expected values(1/1/1 and 0/0/0) and array values don't match expected values(1/1/1 and 0/0/0)

Reproducible with: 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Could not test with: 2017.4.40f1, 2018.4.23f1(regressed package version unavailable)

Reproducible with package versions: preview.6 - 0.10.0
Not reproducible with package versions: preview.15 - 0.9.1

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.