Search Unity

Unity Editor crash at the end of the build

Discussion in 'macOS' started by MRXstudios, Jan 9, 2017.

  1. MRXstudios

    MRXstudios

    Joined:
    Jan 7, 2017
    Posts:
    5
    Hey there,

    I'm running into some problems where my project will build successfully, but the Unity editor crashes at the of the build. So I get a build that runs just fine, but I have to start the Unity editor again.

    Building the same project on my windows computer doesn't crash Unity.

    OS: 10.12.2
    Unity version: 5.5.0f3

    Sometimes the build process gets stuck at "Postprocessing Player" and I don't get an error message.

    When I do get an error message it always states this:
    Exception Type: EXC_BAD_ACCESS (SIGABRT)
    Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000009f
    Exception Note: EXC_CORPSE_NOTIFY

    Each crash gives a different error definition. Here are some examples:
    • abort() called
      terminating with uncaught exception of type std::length_error: basic_string::_S_create

    • Performing @selector(CompileSceneAutomatic: ) from sender NSMenuItem 0x6000000a4200
      abort() called
      terminating with uncaught exception of type std::length_error: basic_string::_S_create

    I added a full crashreport as an attachment.

    Does anybody have any thoughts on how to solve this?
     

    Attached Files:

    Last edited: Jan 9, 2017
  2. MRXstudios

    MRXstudios

    Joined:
    Jan 7, 2017
    Posts:
    5
    Solved.

    I accidentally discovered that a PNG in one of my asset folders caused the crash.
    Even selecting it in Unity Editor crashed the program.