Search Unity

Crash in Unity asset import

Discussion in 'Editor & General Support' started by martin_unity660, Aug 16, 2019.

  1. martin_unity660

    martin_unity660

    Joined:
    Feb 15, 2019
    Posts:
    22
    Our builders are crashing when building our unity project incremental. The build tasks are running stable and without issues if we build the project in a "clean" workspace.

    We don't experiencing any issues or crashes on our Workstations. The project imports without any issues.

    Build Machine Configuration:
    MacMini
    OSX: 10.14.6
    XCode 10.3
    Unity: 2018.4.3.1f

    Code (csharp):
    1.  
    2. Using Asset Import Pipeline V1.
    3. Initiating legacy licensing module
    4. Rebuilding Library because the metadata folder could not be found!
    5. 0   Unity                               0x000000010198dfec _Z13GetStacktracei + 92
    6. 1   Unity                               0x00000001001874fb _Z17DebugStringToFileRK21DebugStringToFileData + 795
    7. 2   Unity                               0x00000001026ddd8b _ZN13AssetDatabase26ProjectVersionBootSequenceEbbbPi + 811
    8. 3   Unity                               0x0000000102713332 _ZN14AssetInterface10InitializeEbbPi + 146
    9. 4   Unity                               0x00000001026bce27 _ZN13AssetDatabase23InitializeAssetDatabaseEbbPi + 199
    10. 5   Unity                               0x00000001019c9670 _ZN11Application17InitializeProjectEv + 3216
    11. 6   Unity                               0x000000010072923c _Z14NoGraphicsMainv + 60
    12. 7   Unity                               0x00000001007295cf _Z10EditorMainiPPKc + 831
    13. 8   Unity                               0x0000000100729a59 main + 9
    14. 9   libdyld.dylib                       0x00007fff5cc1f3d5 start + 1
    15. 10  ???                                 0x0000000000000026 0x0 + 38
    16.  
    17. (Filename: /Users/builduser/buildslave/unity/build/Modules/AssetDatabase/Editor/Shared/AssetDatabaseInitialization.cpp Line: 110)
    18.  
    Any hints or suggestions about the cause of it?
     
  2. martin_unity660

    martin_unity660

    Joined:
    Feb 15, 2019
    Posts:
    22
    Opening the project with unity in the workspace of the build machine with GUI works perfectly fine. It seems to be connected to the "NoGraphics" startup of unity.

    To run the build command from console seems to be fine too. As the command is run as the same user in the same directory permissions seems to be not the issue.

    Could you point us please to what happens at:
    unity/build/Modules/AssetDatabase/Editor/Shared/AssetDatabaseInitialization.cpp Line: 110?
     
    Last edited: Aug 20, 2019
  3. martin_unity660

    martin_unity660

    Joined:
    Feb 15, 2019
    Posts:
    22
    It seems that clearing the temp directory is causing the crash. Not cleaning temp after an build seems to solve the issue.