Search Issue Tracker

Fixed in 0.1.X

Votes

1

Found in [Package]

preview.33 - 0.0.12

Issue ID

1164281

Regression

No

Errors regarding different serialization layout in Development Build when using Resources.LoadAll<T> and Entities package

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the attached project 'BugRepro.zip'
2. Build the project (make sure 'Development Build' is ticked)
3. Run the built project

Expected results: No errors in the built project
Actual results: Errors regarding different serialization layout in the built project

Reproducible with: 2019.1.9f1, 2019.2.0b9, 2019.3.0a8 and Entities preview.33 - 0.0.12

Error message: A scripted object (script unknown or not yet loaded) has a different serialization layout when loading. (Read 52 bytes but expected 1548 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

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.