Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Question OnEnable, Awake, Start

Discussion in 'Editor & General Support' started by ILonion, Nov 15, 2023.

  1. ILonion


    Oct 26, 2015
    playmode start run like this:
    - OnEnable
    - Awake
    - OnEnable
    - Start
    (by debug.log)

    2 questions:
    1. why OnEnable twice ?
    2. order execute above (onenable first) - is guaranteed?
  2. spiney199


    Feb 11, 2021
    ILonion and halley like this.