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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment