Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.3.1f1
Issue ID
580221
Regression
No
Exported Visual Studio project does not get updated properly
Steps to reproduce:
1. Create a project which has a scene and a cube.
2. Build it to a folder
3. Create a script which spins the gameobject at the speed of a public float field.
4. Attach it to the Cube in the scene
5. Build and run the app by exporting it to the same project location.
6. Errors will be logged:
A script behaviour has a different serialization layout when loading. (Read 52 bytes but expected 56 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment