Unity 5.4.3 crashed during build for Android and Windows

Unity 5.4.3p1 worked fine but starting with Unity 5.4.3p2 and p3 I cannot do builds anymore. As soon as I start a PC build it runs fine for a while but then crashes within the build process. This happens for the Android target as well and happens always for my project.

What does the log say? Do you have a crash dump?
Try deleting the library folder and doing a full re import.

I did delete the lib folder but will try a full re import, thanks! Sorry for that stupid question but where can the log and crash dump be found? It’s absolutely reproducible I can upload my project for you, you even don’t have to do something special, just hit build.

Yep, definitely crashes…

I deleted the lib folder, did a fresh install, reimported everything and when the progress bar during build was at about 75% it crashed.

BTW: It’s a Windows 7 system with 16GB RAM, shouldn’t be a problem, especially as I use the 64 bit version of Unity. :wink:

And up to 5.4.3p1 everything was fine!

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    Unity.exe
  Application Version:    5.4.3.37587
  Application Timestamp:    584288a7
  Fault Module Name:    Unity.exe
  Fault Module Version:    5.4.3.37587
  Fault Module Timestamp:    584288a7
  Exception Code:    c0000005
  Exception Offset:    00000000005a6248
  OS Version:    6.1.7601.2.1.0.256.4
  Locale ID:    1031
  Additional Information 1:    8566
  Additional Information 2:    8566d5a4df34d62c1e5f3852ee3d0c56
  Additional Information 3:    c4f4
  Additional Information 4:    c4f4e6d46de3f6b326c8a314bcbbd4f6

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Log file : Unity - Manual: Log files
Try C:\Users\AppData\Local\Temp\crash_\crash.dmp for crash dump.

Thanks, Log start:

LICENSE SYSTEM [20161214 13:27:36] No start/stop license dates set

LICENSE SYSTEM [20161214 13:27:36] Next license update check is after 2016-12-15T07:57:59

Built from '5.4/patch-release' branch; Version is '5.4.3p3 (3592d3a1f914) revision 3510995'; Using compiler version '160040219'
OS: 'Windows 7 Service Pack 1 (6.1.7601) 64bit' Language: 'de' Physical Memory: 16329 MB
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
Initialize mono
Mono path[0] = 'C:/Program Files/Unity/Editor/Data/Managed'
Mono path[1] = 'C:/Program Files/Unity/Editor/Data/Mono/lib/mono/2.0'
Mono path[2] = 'C:/Program Files/Unity/Editor/Data/UnityScript'
Mono config path = 'C:/Program Files/Unity/Editor/Data/Mono/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56256
Successfully changed project path to: C:/HOME/Projekte/SilentDepth
IsTimeToCheckForNewEditor: Update time 1481719803 current 1481718457
C:/HOME/Projekte/SilentDepth
Audio: FMOD Profiler initialized on port 54900
Loading GUID <-> Path mappings...0.000170 seconds
Loading Asset Database...0.000098 seconds
AssetDatabase consistency checks...Rebuilding GUID cache ... 1.265484 seconds.
1.282163 seconds
Initialize engine version: 5.4.3p3 (3592d3a1f914)
Refreshing native plugins compatible for Editor in 0.00 ms, found 0 plugins.
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 9.0c [nvd3dumx.dll 9.18.13.3182]
    Renderer: NVIDIA Quadro K600
    Vendor:   NVIDIA
    VRAM:     972 MB (via DXGI)
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 INTZ=1 NULL=1 RESZ=0 SlowINTZ=0 ATOC=1
Begin MonoManager ReloadAssembly

Those are the last lines in the log:

[C:/buildslave/unity/build/Runtime/Mono/MonoBehaviourSerialization_Editor.cpp line 673]
(Filename: /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs Line: 222)

Unloading 189 Unused Serialized files (Serialized files now loaded: 0)
System memory in use before: 159.3 MB.
System memory in use after: 141.7 MB.

Unloading 1724 unused Assets to reduce memory usage. Loaded Objects now: 3463.
Total: 30.733232 ms (FindLiveObjects: 0.667782 ms CreateObjectMapping: 0.329345 ms MarkObjects: 21.307444 ms  DeleteObjects: 8.426315 ms)

Compiled shader 'Standard' (total internal programs: 396, unique: 396) in 2.26s
Crash!!!

I can’t find any crash dumps though (well there are some but from Google Chrome. :wink: )…

We’re getting the same issue in 5.4.3p3:
I’ve attached my error.log and crash.dmp files.

2887122–212123–ERRORS.zip (59.4 KB)

Could you file a bug please?

Done.

1 Like

Thanks guys, 5.4.3p4 fixed it for me! :slight_smile:

1 Like