Search Unity

Unity crashes when pressing Play button

Discussion in 'General Discussion' started by Deleted User, Dec 6, 2022.

  1. Deleted User

    Deleted User

    Guest

    upload_2022-12-6_14-38-23.png

    Yesterday everything was good. This what i got today. Unity 2021.3.11f1
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,770
    - Try restart Unity, if haven't.
    - Reload libraries. Delete libraries folder and let Unity to download it again.
    - Check project repo for changes. And try revert to last working erosion.
    - Try different version of Unity.
    - Or try rental / fix current version of Unity.
    - If all above fails, you may have potentially hardware problem.
     
    DieterSupportSquare likes this.
  3. Deleted User

    Deleted User

    Guest

    how do i enable this? i think that might be a problem too upload_2022-12-6_15-28-18.png
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,770
    In top menu bar, there is drop menu called jobs, if I am not mistaken, one of the option in the drop down menu should be to enable stacktrace.

    You need enable full stack trace.
    Possibly yu got it disabled.

    And make sure, you are disposed all native collections correctly.
     
  5. Deleted User

    Deleted User

    Guest

    thanks. How can i know that i disposed all native collections correctly?
     
  6. Deleted User

    Deleted User

    Guest

    =================================================================
    Native Crash Reporting
    =================================================================
    Got a UNKNOWN while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries
    used by your application.
    =================================================================
    =================================================================
    Managed Stacktrace:
    =================================================================

    thats my log if it will help too
     
  7. Deleted User

    Deleted User

    Guest

    upload_2022-12-6_15-41-25.png

    jobs, you mean here or somewhere else?
     
  8. Deleted User

    Deleted User

    Guest

    My problem was seem to be a Library failure. Your libraries re-loading worked. Thanks! But if you still know how to enable Full StackTrack i'd like to know. :))
     
    JDSherbert likes this.