Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.2.0f2
Issue ID
725023
Regression
No
Instantiating EventSystem in RuntimeInitializeLoadType.BeforeSceneLoad
Instantiating EventSystem in RuntimeInitializeLoadType.BeforeSceneLoad results in exception in windows build:
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 96 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
Steps to reproduce:
1. Open provided example project
2. Open Assets/Scene.unity
3. Press Play, notice no error is displayed
4. Press File > Build & Run and build a Windows player
5. Run the built player
6. Notice the exceptions
Reproduced on Windows 10 x64 with 5.2.0f2 (d7f8e5b3cbb5b, 5.3.0b1 (a535853f4e7c)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
Add comment