• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Awake

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

guneyozsan commented

OnEnable called before Awake

Mar 17, '21 awake·onenable·execution-order

2 Replies

3 Votes

avatar image

StonehawkArchitect commented

Function that triggers something as soon as Object is "Set Active"

Mar 1, '21 function·start·awake

3 Replies

0 Votes

avatar image

Hellium edited

Is there a method on MonoBehaviour that is called on load even if GameObject is disabled?

Jan 14, '21 monobehaviour·awake·load level·script execution order

3 Replies

1 Votes

avatar image

Ziplock9000 commented

Function that Runs Even on Disabled GameObjects

Jan 11, '21 start·active·awake

1 Reply

0 Votes

avatar image

Orion336 commented

Start and Awake running twice?

Jan 8, '21 start·awake

2 Replies

0 Votes

avatar image

dbdenny answered

EditorWindow start of application callback

Dec 30, '20 editorwindow·start·awake·callback

1 Reply

0 Votes

avatar image

Bip901 commented

Something like Awake that runs even if disabled?

Oct 3, '20 scene·start·enabled·awake·disabled

10 Replies

16 Votes

avatar image

Galse22 edited

Substitute to awake when working with StateMachines?

Sep 28, '20 state-machine·awake·order-of-execution·execution-order

0 Replies

0 Votes

avatar image

Namey5 edited

Strange Race condition for one prefab

Sep 4, '20 start·awake·race

1 Reply

0 Votes

avatar image

RevivingSociety commented

What is the purpose of this function? "protected virtual void Init() { }"

Aug 23, '20 c#·2d·2d game·awake·initialization

1 Reply

0 Votes

avatar image

koraken commented

How to initialize after Start()

Aug 15, '20 awake

4 Replies

0 Votes

avatar image

davidcox70 edited

Reliable way to detect when the game starts playing on a ScriptableObject?

Aug 3, '20 c#·scriptableobject·scriptable object·awake·onenable

0 Replies

0 Votes

avatar image

mrmatt1877 commented

StateMachineBehaviour get component on awake ?? Closed

Aug 1, '20 animator·getcomponent·start·awake·state machine

1 Reply

0 Votes

avatar image

Pepeco159 answered

Access singleton in OnEnable when it's initialized in Awake

Jul 28, '20 in Help Room

3 Replies

2 Votes

avatar image

NiliSmiles answered

GameObject.GetComponentsInChildren returns twice as much objects than i thought it would

Jul 16, '20 in Help Room

2 Replies

0 Votes

avatar image

ZombiesCam commented

how do you tell if a rigidbody is awake

Jul 12, '20 rigidbody·raycast·awake·sleep

1 Reply

0 Votes

avatar image

OiEuSouOGah published

Is Awake() safe to start variables using transform's information?

Jul 10, '20 transform·awake

0 Replies

0 Votes

avatar image

Jasr_88 edited

PlayerPrefs Resets Automatically upon returning to the Main Menu

Jun 5, '20 playerprefs·slider·awake·main menu·source code

2 Replies

0 Votes

avatar image

Florian-Nouviale answered

Is there a way to assign variables before Awake() is triggered

May 19, '20 in Help Room

3 Replies

0 Votes

avatar image

ludwu commented

Using inheritance with scripts attached to different gameobjects : Base class Awake called multiple time, normal ?

May 13, '20 gameobject·parent·child·inheritance·awake

2 Replies

0 Votes

avatar image

JackB34 asked

Particle System won't play on awake

May 9, '20 particles·particlesystem·platformer·play·awake

0 Replies

0 Votes

avatar image

martincpt commented

AudioMixer and Awake

Apr 30, '20 audio·awake

2 Replies

4 Votes

avatar image

Long2904 commented

How to add audio source to gameobject with PlayOnAwake turn on through script?

Apr 30, '20 audio·audiosource·audioclip·addcomponent·awake

1 Reply

0 Votes

avatar image

BugKiller answered

[FIXED] Event is null even though value was assigned to it

Feb 13, '20 c#·event·awake

1 Reply

0 Votes

avatar image

ImanN16 edited

does finction start or awake run when the object or script is enabled mid game

Feb 12, '20 start·enabled·awake

3 Replies

6 Votes

avatar image

blackroomboy asked

Line renderer renders a line at previous position for a short while before correctly spawning at the correct position.

Jan 1, '20 linerenderer·dragging·line renderer·awake·enable and disable script

0 Replies

0 Votes

avatar image

TreyH commented

Instantiate with name that can be used in Awake

Nov 19, '19 instantiate·awake

1 Reply

0 Votes

avatar image

glennMediaMonks commented

Execution Order of Scripts - Awake and OnEnable

Oct 21, '19 scripting problem·start·awake·execution order·onenable

1 Reply

0 Votes

avatar image

cdr9042 answered

Initialization before Awake possible?

Oct 9, '19 newbie·awake·initialization

1 Reply

0 Votes

avatar image

zOrcGames commented

Awake-Funtion Producing Uneven Results

Aug 12, '19 in Help Room

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

start c# onenable instantiate gameobject initialization monobehaviour scripting problem update function getcomponent rigidbody sleep prefab singleton loadlevel order-of-execution inheritance 2d game execution order void error addforce variable instantiation


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges