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

Feedback Crashes in Build be more verbose

Discussion in 'Entity Component System' started by Soaryn, Aug 9, 2020.

  1. Soaryn

    Soaryn

    Joined:
    Apr 17, 2015
    Posts:
    328
    Right now, if burst causes a crash in a build, usually it is rather non-descript.

    "lib_burst_generated.dll caused an Access Violation (0xc0000005)
    in module lib_burst_generated.dll at 0023:5b3bada0."

    Everything works fine in the editor, so debugging this becomes a nightmare. It would be nice if the crash generated would be able to provide a working file to at least look into.

    Note: This seems to be a crash from something due to 1.13 entities and 1.4 burst. I will be debugging this more and provide a repro when I can. :) It works in 1.10 entities and 1.3 burst
     
    Last edited: Aug 9, 2020
    PublicEnumE likes this.
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,753
    The dmp file + pdb provides everything you need. Should give you the line of code that crashed.
     
    PublicEnumE likes this.
  3. PublicEnumE

    PublicEnumE

    Joined:
    Feb 3, 2019
    Posts:
    729
    @Soaryn Did you ever get to the bottom of your crash? I'm running into the same issue.

    Fwiw, I'm using Entities 0.14.0-preview.19 and Burst 1.3.2 (which is the listed dependency for that version of Entities).

    Pardon my ignorance, but how is this done? I have both of these files, but I'm not sure how to use them to find the line that crashed.
     
    Last edited: Sep 15, 2020
  4. Soaryn

    Soaryn

    Joined:
    Apr 17, 2015
    Posts:
    328
    I have reported this with a response of "I'll pass it a long to the team."

    So far a temp but feasible solution was to delete the library folder. Your mileage may vary.
     
    PublicEnumE likes this.
  5. PublicEnumE

    PublicEnumE

    Joined:
    Feb 3, 2019
    Posts:
    729
    How often do you have to delete it? Before making each Build?
     
  6. Soaryn

    Soaryn

    Joined:
    Apr 17, 2015
    Posts:
    328
    I've only done it once thus far.
     
    PublicEnumE likes this.
  7. tim_jones

    tim_jones

    Unity Technologies

    Joined:
    May 2, 2019
    Posts:
    287