I’m working on a project for over a year, but decided to move to the Unity 5 (personal)
because some interesting new options. (profiler, some assets)
The project is not small (4GB +), at the beginning I had a problem with the launch
the project in the editor U5. But I update assets with shaders. And is O.K.
Now the game running good in the editor.
But… I can not perform “Build” to “PC Mac and Linux …” (and other too).
I’ve done it many, many times on Unity 4 - because I’m in the testing phase.
Sometimes several times a day. No problem.
And now - the Unity crash after ~ 20% of “Build”.
No message, no warrning, nothing!
Don’t create any file.
This same computer (Win 8.1 / 8BG RAM), any changes. I went back for a moment to Unity4,
and performed “Build” again… (ok). I tried to change build settings.
Is there any logs related to the “build”? How to check what is the cause?
I do not know how many lines I show?
The whole is large. Here end of file:
Ignoring ‘Assets/Plugins/Editor/ES2Editor.dll’ because we’re compiling for WindowsStandaloneSupport Ignoring ‘C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/Editor/UnityEditor.UI.dll’ because we’re compiling for WindowsStandaloneSupport Packing sprites: - Skipping packing - Sprite Packer is off. Opening scene ‘Temp/__BuildPlayer Backupscene’ Unloading 66 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 70.7 MB. System memory in use after: 72.1 MB. Unloading 15 unused Assets to reduce memory usage. Loaded Objects now: 21581. Total: 15.355637 ms (FindLiveObjects: 1.401875 ms CreateObjectMapping: 0.560891 ms MarkObjects: 13.356489 ms DeleteObjects: 0.034967 ms) Load scene ‘Temp/__BuildPlayer Backupscene’ time: 256.379242 ms Iterative baking GI data 0 ms
I cut out parts of a project by 2/4/8… metod, until began to to build again. Results: too many objects. Just.
I have a tree levels, 5 (degree of difficulty) x 30 (levels) x 15 (potential opponents). 2250 GameObject with the script. Activity may be only one level at a time, but … Delete ANY of the five levels of difficulty allows you to do “Build”.
Cuts anyone other part of project give the same results.
Maybe I should do it differently No problem. But that’s not nice crashes without giving the alert.
Unity 4 … X 4.6.5 (rersonal) worked at it without a problem…
… and (so do not start another thread) why when changing Unity 4.6 to Unity 5.1 size of the resulting file (build → PC) has increased from 97MB to 125MB?