Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b3
Issue ID
632337
Regression
No
Serialized data can not be loaded on deployed Windows Phone 8.1 C# Project
Steps to reproduce:
1. Download attached project or make a project which has serialized data in it. For example, a custom script with a public string field. Change that field in the inspector to some value.
2. Build and run that project with Unity C# Projects checkbox ticked in build settings. Errors will be thrown. For example:
InvalidCastException: Unable to cast object of type 'DrawText' to type 'UnityEngine.IUnitySerializable'.
at UnityEngine.Internal.Types.$UnityType639.$Invoke0(Int64 instance, Int64* args)
at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)
(Filename: TODO Line: 0)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 52 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: C:/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1578)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Add comment