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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Add comment