Search Issue Tracker

Fixed in 5.3.0

Votes

91

Found in

Issue ID

651505

Regression

No

[Building] Windows standalone not buildable when sharedassets file is larger than 2gb

Deployment Management

-

Steps to reproduce:
* open the project
* project contains lots of graphical elements (project takes up 4gb when imported)
* wait for import to complete
* Build -> make sure test.scene is included -> build
* Building stops, errors are shown:

success && actual == (UInt64)size
UnityEditor.HostView:OnGUI()

Building - Failed to write file: sharedassets0.assets
UnityEditor.HostView:OnGUI()

Error building Player: Couldn't build player because of unsupported data on target platform.

Comments (33)

  1. 2e848aaef08e8bc019e5c036954d467d?d=mm

    Toba

    Aug 08, 2015 22:17

    People! Listen to NETINCOME2 said!
    I had the same problem and then, thanks to NETINCOME2, I realized that I was getting out of disk space to make the build.
    I deleted some stuff and now I'm being able to build without any problem :)

  2. F8383d034fb5784e9991c222bd7edb2f?d=mm

    Quested

    Jul 31, 2015 08:40

    I had a project which I could compile without any problems and which is very small(I think so), but after upgrading to Windows 10 I get the same error(tried restarting pc and upgraded Unity from 5.1 to 5.2)(Personal Edition).

    success && actual == (UInt64)size
    UnityEditor.HostView:OnGUI()
    Building - Failed to write file: sharedassets0.assets
    UnityEditor.HostView:OnGUI()
    Error building Player: Couldn't build player because of unsupported data on target platform.

  3. 89955336a2abe172952400be490ead7e?d=mm

    AldaGames

    Jul 24, 2015 11:54

    Hi guys,
    ATTENTION : Be careful if you have enough free disk space !

  4. 618d440181ce2463b4af9252a7894ad1?d=mm

    toxtronyx

    Jul 23, 2015 09:37

    I know that this bug has not so many votes but this is a ridiculous show stopper! We stumbled upon this yesterday and it means that we can't build for GamesCom and the whole project is doomed because we have absolutely no chance to shrink down our data.
    In short: This bug has the potential to ruin a complete company!
    Sure. This is our risk. But heck! Please help!

  5. 862640a977edcc637acebf86f3635ff5?d=mm

    alexeyzakharov

    Jul 03, 2015 13:14

    Unity 5.1 has a 4GB limit for serialized files. This restriction applies to the data files like 'mainData', levelX, sharedassetsX.asset, etc.

    We are refactoring an underlying code to support files up to (2^64)-1bytes in size and have compatibility with filesystems like FAT32.

    Before that, the simplest workaround is to split large level into a smaller levels and use LoadLevelAdditive to reconstruct it.

  6. 5f39f07c05d9b1a50694c4c7b68f9c17?d=mm

    Sacristan_G

    Jun 25, 2015 20:34

    This thing really sucks my money away! Unity, please fix this ASAP!

  7. 8eaf2b78cb1f6f38d733ea3d4fe0acdb?d=mm

    phatton

    Jun 09, 2015 14:22

    This is ridiculous! Any solution yet?

  8. 5f27d59abf741f63849e8777bbad30ca?d=mm

    idlebyte

    May 05, 2015 21:58

    Anyone found a good way to debug this? I've assigned and built asset bundles for everything possible and I still can't build.

  9. C42049016628a0f939d7e25f9c103dcf?d=mm

    jcaspews

    Apr 26, 2015 20:42

    Hey unity team, will you fix this problem ?
    or can you give us some workaround ? thanks.

  10. 73dd948d184411b746c6715ce644bf13?d=mm

    Zak_McKrackin

    Apr 26, 2015 09:53

    Completely agree - lets get this fixed!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.