Search Unity

[Solution] Prefabs causing Scene Corrupted when Migrating from Unity 5.0 to Unity 2017

Discussion in 'Editor & General Support' started by LandonC, Jun 14, 2018.

  1. LandonC

    LandonC

    Joined:
    Dec 20, 2012
    Posts:
    83
    Hello. I want to share an issue I faced and how I resolved it when migrating my game.

    I recently tried migrating an old game file to my new unity. There was no apparent problems when converting to the newer version but when I try to open certain scenes in my game, Unity would crash immediately.
    This was the error found in the editor log.

    The file 'C:/Users/*****/Assets/scene01.unity' - 'Assets/scene01.unity' is corrupted! Remove it and launch unity again! [Position out of bounds! 267058 > 267007]

    I'm not sure why it happens but I found that the faults were caused by the prefabs in my scene.
    I only had to break all the prefab connections in my older unity and reimport the scene as a unitypackage in my new unity.

    Results on google did gave me some pointers but there was not any proper resolution, most posts claim they have scripting issues but mine was not the case. Hope this would help those who needs it.