Question by
sarahnorthway · May 28, 2019 at 10:14 PM ·
awakeexecuteineditmodescript execution order
ExecuteInEditMode always first in Script Execution Order?
After installing the CurvedUI Plugin, my Script Execution Order is suddenly fubar.
Despite CurvedUITMP being set to execute at +100, its Awake is called BEFORE anything else. Next Unity calls Awake on every sibling component on the objects containing a CurvedUITMP.
All well before LogManager.Awake at -1300.
CurvedUITMP uses ExecuteInEditMode. If I comment that out, everything works again and CurvedUITMP won't Awake until +100 as it should. But its editor features are broken.
This is Unity 2018.3.8f1. Is this working as intended? Is there a way to use ExecuteInEditMode without those components and their siblings ending up first in the Script Execution Order for Awake/OnEnable?
screenshot-2019-05-28-144245.png
(220.4 kB)
Comment