Search Unity

Invalid serialized file version after upgrade

Discussion in 'Editor & General Support' started by mihakinova, Dec 9, 2015.

  1. mihakinova

    mihakinova

    Joined:
    Jan 6, 2015
    Posts:
    85
    Just upgraded Unity from 5.3.0f2 to the official release (f4). Now, when I run my game on iOS i get this error and the game closes right after opening:

    Invalid serialized file version. File: "/private/var/mobile/Containers/Bundle/Application/*******/bes.app/Data/globalgamemanagers". Expected version: 5.3.0f2. Actual version: 5.3.0f4.

    I have tried reimporting all assets and creating a new build, with no luck. I'm not using any asset bundles.
    It only happens on iOS, when doing a WebGL build i can run it fine.

    Anyone knows a solution to this?

    EDIT: The entire log:
    2015-12-09 11:54:56.467 bes[376:18301] -> registered mono modules 0xe33370

    -> applicationDidFinishLaunching()

    Invalid serialized file version. File: "/private/var/mobile/Containers/Bundle/Application/*********/bes.app/Data/globalgamemanagers". Expected version: 5.3.0f2. Actual version: 5.3.0f4.


    (Filename: Line: 1045)


    PlayerInitEngineNoGraphics settings: Could..... not preload global game manager #0 i=0

    engine intialization failed
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,679
    Could you create a bug report with the project so we can take a look?
     
  3. mihakinova

    mihakinova

    Joined:
    Jan 6, 2015
    Posts:
    85
    Managed to fix the problem by completely removing Unity with AppCleaner and reinstalling it.

    Thanks for the support!
     
    karl_jones likes this.
  4. polytropoi

    polytropoi

    Joined:
    Aug 16, 2006
    Posts:
    676
    I'm getting a similar error, after doing the 5.3.1p1 patch, crashes all my Android builds at start. I've used AppCleaner, on 2 separate machines, complete reinstall, same problem. Log says:
    E/Unity (16867): Invalid serialized file version. File: "/data/app/net.servicemedia.ovrTest-2/base.apk/assets/bin/Data/globalgamemanagers". Expected version: 5.3.1f1. Actual version: 5.3.1p1.

    I filed a bug, it's # 756814
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,679
    Hmm. Try doing a reimport of your project, it should regenerate the serialized files.
     
  6. polytropoi

    polytropoi

    Joined:
    Aug 16, 2006
    Posts:
    676
    It also does it on new, empty project, with nothing to reimport
     
  7. polytropoi

    polytropoi

    Joined:
    Aug 16, 2006
    Posts:
    676
    Maybe it's mac only, for some reason? Same behavior on 2 different machines ( brand new iMac and an older iMac ) - but I know not everybody is having this problem
     
  8. Bravo_cr

    Bravo_cr

    Joined:
    Jul 19, 2012
    Posts:
    148
    Same problem here with installed version 5.3.1p2 "Expected version 5.3.0f4"
     
  9. polytropoi

    polytropoi

    Joined:
    Aug 16, 2006
    Posts:
    676
    I filed a bug on this and they did reproduce, it's because I didn't install the patch using Download Assistant with the Android build target selected. Rerun the p2 install using Download Assistant and make sure you check the Android build target.
     
  10. funx

    funx

    Joined:
    Jun 9, 2014
    Posts:
    16
    I'm getting this post's original error (invalid version for globalgamemanagers) on iOS / Unity 5.3.1p4.
     
  11. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,679
    Did you do what polytropoi said? Use the download manager?
     
  12. funx

    funx

    Joined:
    Jun 9, 2014
    Posts:
    16
    You mean the download assistant to download Unity? Yes I downloaded it with that from this link:
    https://unity3d.com/unity/qa/patch-releases
    I'm developing for iOS so I don't have the Unity's platform switched to Android though.
     
  13. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,679
    Did you try the app cleaner trick mentioned earlier?
     
  14. BenoitFreslon

    BenoitFreslon

    Joined:
    Jan 16, 2013
    Posts:
    136
    Same problem:

    Expected version: 5.3.0f4. Actual version: 5.3.1f1.

    2016-01-26 09:02:00.473 ProductName[555:203447] -> registered mono modules 0x6f3d00

    -> applicationDidFinishLaunching()

    Invalid serialized file version. File: "/var/mobile/Containers/Bundle/Application/5BDA1D1C-3216-4300-907B-AABB3914B82E/ProductName.app/Data/globalgamemanagers". Expected version: 5.3.0f4. Actual version: 5.3.1f1.


    (Filename: Line: 1045)


    PlayerInitEngineNoGraphics settings: Could..... not preload global game manager #0 i=0

    engine intialization failed
     
  15. FlyingHighUp

    FlyingHighUp

    Joined:
    Apr 23, 2012
    Posts:
    14
    Same problem:

    Invalid serialized file version. File: "/data/app/******.apk/assets/bin/Data/globalgamemanagers". Expected version: 5.3.0f4. Actual version: 5.3.1f1.

    Cleaned Unity off my computer with AppCleaner, reinstalled.
    Made sure to select Android as a platform this time. It worked.
     
  16. afiqyaya

    afiqyaya

    Joined:
    Jan 29, 2016
    Posts:
    1
    hi, for my case, im using unity 32 bit, because im developing AR apps on android. unity 32 bit doesnt have android platform in the download assistants. I manually copy android platform file from unity 64 bit folder and paste it into the unity 32 bit folder. So i think your solution might not work for me. btw, can i import my project from 32 bit to 64 bit and build the .apk files in 64 bit?.please help me, i spend a whole day yesterday to find the solution but still haven't solve it.
     
  17. BenoitFreslon

    BenoitFreslon

    Joined:
    Jan 16, 2013
    Posts:
    136
    I fixed the problem by uninstalling Unity and by downloading the download manager in order to reinstall the iOS export module.
     
  18. MohHeader

    MohHeader

    Joined:
    Aug 12, 2015
    Posts:
    26
    For me,

    When I did updated Unity, I only updated Unity Editor,
    So there was a conflict between Unity Editor version & Builder version.

    using Download Manager, just re-installed Mac Builder to update it.

    Hope that helps
     
  19. pedrevans

    pedrevans

    Joined:
    May 8, 2013
    Posts:
    10
    When I had this problem with the latest patch version 5.3.2p4, I closed Unity and MonoDevelop, then I checked out my code in a new directory (i.e. without Library/ and Temp/), creating a new Unity project, and built it from scratch. That worked for me.
     
  20. mesuttasci

    mesuttasci

    Joined:
    May 7, 2017
    Posts:
    12
    After a year with same error.
    globalmanagers Expected version:5.6.0f3. Actual version :5.6.0f1.
    i hope unity will solve this issue with next update. Or we will change game engine
     

    Attached Files:

    dinindu_unity likes this.
unityunity