Search Issue Tracker

Fixed

Fixed in 1.3.X - Entities, 1.4.X - Entities, 7000.0.0a1

Votes

0

Found in [Package]

1.4.X - Entities

7000.0.0a1

Issue ID

ECSB-1619

Regression

Yes

FastEquality.Equals returns incorrect result when comparing Structs with different nested Struct values

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the “IN-97044_TestFastEquality” project
2. In the Test Runner tab select “EditMode”
3. click “Run All”
4. Observe test results

Expected result: All tests pass
Actual result: One test fails

Reproducible with: 1.0.0-pre.15(2022.3.60f1), 1.3.10(2022.3.60f1, 6000.0.43f1, 6000.1.0b10, 6000.2.0a7)
Not reproducible with: 0.51.1-preview.21(2021.3.49f1), 1.0.0-exp.12(2022.3.60f1)

Reproducible on: macOS 15.3.1 (M1 Max), Windows 10 (by user)
Not reproducible on: no other environments tested

  1. Resolution Note (fix version 7000.0.0a1):

    The LayoutInfo didn't propogate the offsets correctly for nested types, as well as other issues, like always overriding and updating element 0 in a list instead of the last (it incorrectly assumed there would only be one element).

    I fixed up the issues in generating the LayoutInfo, and rewrote part of it to make it more robust.

  2. Resolution Note (fix version 1.4.X - Entities):

    The LayoutInfo didn't propogate the offsets correctly for nested types, as well as other issues, like always overriding and updating element 0 in a list instead of the last (it incorrectly assumed there would only be one element).

    I fixed up the issues in generating the LayoutInfo, and rewrote part of it to make it more robust.

  3. Resolution Note (fix version 1.3.X - Entities):

    The LayoutInfo didn't propogate the offsets correctly for nested types, as well as other issues, like always overriding and updating element 0 in a list instead of the last (it incorrectly assumed there would only be one element).

    I fixed up the issues in generating the LayoutInfo, and rewrote part of it to make it more robust.

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.