13.01.2020
Posted by 
Invalid Serialized File Header Unity

May 07, 2018Using works fine in editor, but on device (iOS / Android) we are getting the error below. Thanks for submitting this issue. I don't think this is a problem on the Unity side, as we do have a good work around for this issue. I am having the same issue. I have a Wcf method that returns a DataContract. My unity project is making a call to the Wcf endpoint and getting the DataContract object back. This works fine in the Unity Editor but throws an error with 'FAILED TO LOAD CONFIGURATION SECTION FOR DATACONTRACTSERIALIZER' when I run it on a mobile device(in my case android).I have upgraded Unity to 2018.3.4f1 because Josh Peterson said it was fixed in Unity 2018.3.I have also added the link.xml file to my Assets folder and switched my android Api Compatibility Level to.NET 4.x.What version of Unity is this fixed in?

Unity Invalid Serialized File Header

Or are there any workarounds to getting this to work?. Update: this commit shows the bug is specifically related to the Json serializer/deserializer and not file loading or at least some other types of serializers.Our save/load start state (which happens in memory) was broken the same as file loading/saving. We changed it to Binary format and now it works. Of course our users already have.json save files from the desktop version of our application (and they are designed to be portable/sharable) so 'just use binary format for your save files' isn't a good option.Note: we did not test XML serialization only json and binary.

Hey everyone and thanks for reading.I have made an app on Unity3D And I'm ready to test it on my Android phone (Huawei G510). E/Unity (13928): Invalid serialized file version. File: '/data/app/com.BlueBeanie.HungryBarns-1.apk/assets/bin/Data/mainData'. Expected version: 4.3.3f1. Actual version: 4.3.0f4.It looks like there's a conflict in version numbers.

Invalid Serialized File Header Unity Free

If you upgraded (or downgraded) Unity in the middle of the project, it's the likely cause. Based on, it looks like you need to start a new xcode project every time you upgrade Unity. I know Unity projects can be upgraded to a newer version, but they will be broken if they're ever opened with an older version.