Search Issue Tracker

Fixed

Fixed in 1.4.X - Entities

Votes

0

Found in [Package]

1.3.10 - Entities

1.4.X - Entities

7000.0.0a1

Issue ID

ECSB-1646

Regression

Yes

Wrong detection of IsZeroSized Components when including static fields

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached “IN-98030.zip” project
2. Open the “SampleScene”
3. Enter Play mode
4. Observe the Console

Expected result: “TestComponent IsZeroSized: True” log is visible
Actual result: “TestComponent IsZeroSized: False” log is visible

Reproducible with: 1.3.9 (2022.3.61f1, 6000.0.45f1, 6000.1.0b14, 6000.2.0a8), 1.3.10 (2022.3.61f1, 6000.0.45f1, 6000.1.0b14, 6000.2.0a8)
Not reproducible with: 1.3.8 (2022.3.61f1, 6000.0.45f1, 6000.1.0b14, 6000.2.0a8)

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Note: Also reported on Unity Discussions - [https://discussions.unity.com/t/wrong-detection-of-iszerosized-components-when-including-static-fields/1621328]

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

    This fix will be in the patch release following 1.4.0-pre.4

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.