Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 5.4.3 crashed during build for Android and Windows

Discussion in 'Editor & General Support' started by Xaron, Dec 14, 2016.

  1. Xaron

    Xaron

    Joined:
    Nov 15, 2012
    Posts:
    379
    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.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,223
    What does the log say? Do you have a crash dump?
    Try deleting the library folder and doing a full re import.
     
  3. Xaron

    Xaron

    Joined:
    Nov 15, 2012
    Posts:
    379
    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.
     
  4. Xaron

    Xaron

    Joined:
    Nov 15, 2012
    Posts:
    379
    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. ;)

    And up to 5.4.3p1 everything was fine!

    Code (csharp):
    1.  
    2. Problem signature:
    3.   Problem Event Name:    APPCRASH
    4.   Application Name:    Unity.exe
    5.   Application Version:    5.4.3.37587
    6.   Application Timestamp:    584288a7
    7.   Fault Module Name:    Unity.exe
    8.   Fault Module Version:    5.4.3.37587
    9.   Fault Module Timestamp:    584288a7
    10.   Exception Code:    c0000005
    11.   Exception Offset:    00000000005a6248
    12.   OS Version:    6.1.7601.2.1.0.256.4
    13.   Locale ID:    1031
    14.   Additional Information 1:    8566
    15.   Additional Information 2:    8566d5a4df34d62c1e5f3852ee3d0c56
    16.   Additional Information 3:    c4f4
    17.   Additional Information 4:    c4f4e6d46de3f6b326c8a314bcbbd4f6
    18.  
    19. Read our privacy statement online:
    20.   http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    21.  
    22. If the online privacy statement is not available, please read our privacy statement offline:
    23.   C:\Windows\system32\en-US\erofflps.txt
    24.  
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,223
  6. Xaron

    Xaron

    Joined:
    Nov 15, 2012
    Posts:
    379
    Thanks, Log start:

    Code (csharp):
    1.  
    2.  
    3. LICENSE SYSTEM [20161214 13:27:36] No start/stop license dates set
    4.  
    5. LICENSE SYSTEM [20161214 13:27:36] Next license update check is after 2016-12-15T07:57:59
    6.  
    7. Built from '5.4/patch-release' branch; Version is '5.4.3p3 (3592d3a1f914) revision 3510995'; Using compiler version '160040219'
    8. OS: 'Windows 7 Service Pack 1 (6.1.7601) 64bit' Language: 'de' Physical Memory: 16329 MB
    9. BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
    10. Initialize mono
    11. Mono path[0] = 'C:/Program Files/Unity/Editor/Data/Managed'
    12. Mono path[1] = 'C:/Program Files/Unity/Editor/Data/Mono/lib/mono/2.0'
    13. Mono path[2] = 'C:/Program Files/Unity/Editor/Data/UnityScript'
    14. Mono config path = 'C:/Program Files/Unity/Editor/Data/Mono/etc'
    15. Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56256
    16. Successfully changed project path to: C:/HOME/Projekte/SilentDepth
    17. IsTimeToCheckForNewEditor: Update time 1481719803 current 1481718457
    18. C:/HOME/Projekte/SilentDepth
    19. Audio: FMOD Profiler initialized on port 54900
    20. Loading GUID <-> Path mappings...0.000170 seconds
    21. Loading Asset Database...0.000098 seconds
    22. AssetDatabase consistency checks...Rebuilding GUID cache ... 1.265484 seconds.
    23. 1.282163 seconds
    24. Initialize engine version: 5.4.3p3 (3592d3a1f914)
    25. Refreshing native plugins compatible for Editor in 0.00 ms, found 0 plugins.
    26. GfxDevice: creating device client; threaded=1
    27. Direct3D:
    28.     Version:  Direct3D 9.0c [nvd3dumx.dll 9.18.13.3182]
    29.     Renderer: NVIDIA Quadro K600
    30.     Vendor:   NVIDIA
    31.     VRAM:     972 MB (via DXGI)
    32.     Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 INTZ=1 NULL=1 RESZ=0 SlowINTZ=0 ATOC=1
    33. Begin MonoManager ReloadAssembly
    34.  
    Those are the last lines in the log:

    Code (csharp):
    1.  
    2. [C:/buildslave/unity/build/Runtime/Mono/MonoBehaviourSerialization_Editor.cpp line 673]
    3. (Filename: /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs Line: 222)
    4.  
    5. Unloading 189 Unused Serialized files (Serialized files now loaded: 0)
    6. System memory in use before: 159.3 MB.
    7. System memory in use after: 141.7 MB.
    8.  
    9. Unloading 1724 unused Assets to reduce memory usage. Loaded Objects now: 3463.
    10. Total: 30.733232 ms (FindLiveObjects: 0.667782 ms CreateObjectMapping: 0.329345 ms MarkObjects: 21.307444 ms  DeleteObjects: 8.426315 ms)
    11.  
    12. Compiled shader 'Standard' (total internal programs: 396, unique: 396) in 2.26s
    13. Crash!!!
    14.  
    I can't find any crash dumps though (well there are some but from Google Chrome. ;) )...
     
  7. TitanUnity

    TitanUnity

    Joined:
    May 15, 2014
    Posts:
    180
    We're getting the same issue in 5.4.3p3:
    I've attached my error.log and crash.dmp files.
     

    Attached Files:

  8. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,223
    Could you file a bug please?
     
  9. TitanUnity

    TitanUnity

    Joined:
    May 15, 2014
    Posts:
    180
    Done.
     
    karl_jones likes this.
  10. Xaron

    Xaron

    Joined:
    Nov 15, 2012
    Posts:
    379
    Thanks guys, 5.4.3p4 fixed it for me! :)
     
    karl_jones likes this.