Search Unity

Export Build to Windows results in 3 errors on RC1

Discussion in 'Unity 5 Pre-order Beta' started by Tapgames, Feb 15, 2015.

  1. Tapgames

    Tapgames

    Joined:
    Dec 1, 2009
    Posts:
    242
    Hi all, I have this issue with enlighten when I set backed resolution to 40 it will give me an error "see below"
    When I set Baked Resolution to 20 it will export fine.

    Code (CSharp):
    1. success && actual == (UInt64)size
    2. UnityEditor.HostView:OnGUI()
    3.  
    4. Building - Failed to write file: sharedassets0.assets
    5. UnityEditor.HostView:OnGUI()
    6.  
    7. Error building Player: Couldn't build player because of unsupported data on target platform.
    8.  
     
  2. superpig

    superpig

    Quis aedificabit ipsos aedificatores? Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,228
    How big is your sharedassets0.assets file when it builds successfully?
     
  3. Tapgames

    Tapgames

    Joined:
    Dec 1, 2009
    Posts:
    242
    I just checked. When successful exported with the Baked Resolution set to 20 the sharedassets0.assets is 1.39Gb.
     
    shkar-noori likes this.
  4. superpig

    superpig

    Quis aedificabit ipsos aedificatores? Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,228
    My guess is that at the higher resolution, the file size is being pushed beyond 2GB, which we currently don't permit. (We started working on removing this limit, but the work won't be ready for 5.0).

    As a workaround, I think you'll need to break up your scene's resources into AssetBundles.