Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Crash immediately after enter the play mode.

Discussion in 'Editor & General Support' started by leegod, Sep 30, 2023.

  1. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,335
    I have project that used 2021 unity version.
    Upgraded just before to newest 2023.1.15.

    And now after the hit the play button, unity just crashes.

    occurs everytime, I can't know why.

    Here is editor.log file.

    Thanks.
     

    Attached Files:

  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,711
    If you have a reproducible bug, file it.

    Help -> Report A Bug

    ^ ^ ^ ^ The ONLY way to file bugs, no exceptions.


    ISSUES RELATED TO UPGRADING PROJECTS (eg, changing to a higher Unity version)

    Upgrading to a later version of Unity is a one-way process. Any project that has been updated should NEVER be reverted to an earlier version of Unity because this is expressly not supported by Unity. Doing so exposes your project to internal inconsistencies and breakage that may actually be impossible to repair.

    If you want to upgrade to a newer version of Unity, do not even consider it until you have placed your project fully under proper source control. This goes double or triple for non-LTS (Tech Stream) versions of Unity3D, which can be extremely unstable compared with LTS.

    Once you have source-controlled your project then you may attempt a Unity upgrade. Immediately after any attempted upgrade you should try to view as much of your project as possible, with a mind to looking for broken animations or materials or any other scripting errors or runtime issues.

    After an upgrade you should ALWAYS build to all targets you contemplate supporting: iOS and Android can be particularly finicky, and of course any third party libraries you use must also "play nice" with the new version of Unity. Since you didn't write the third party library, it is up to you to vet it against the new version to make sure it still works.

    If there are issues in your testing after upgrading Unity, ABANDON the upgrade, revert your project in source control and be back where you were pre-upgrade with the earlier version of Unity.

    Obviously the less you test after the upgrade the more chance you will have of an undiscovered critical issue.

    This risk of upgrading is entirely on you and must be considered whenever you contemplate a Unity version upgrade.

    Do not upgrade "just for fun" or you may become very unhappy.

    ISSUES RELATED TO GOING BACK OR UNDOING BREAKING CHANGES TO YOUR WORK

    Keep in mind that Unity does NOT back your files up. That's on YOU.

    Use either version control (see below) or else make your own backups.
     
  3. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,335
    of course I backed up whole project before upgrade.

    And... I don't know this is unity bug... maybe my side problem. This is nintendo switch project. But I handled exception whole switch related code when run at unity editor.