🧁AppStart

This is first app script point.

In BeforeSplashScreenAppear method implemented Version validation, which checks for game version update and fits user save data between major game updates.

DontDestroyOnLoad systems initialization in Loader scene

Replace all systems that you need to initialize before game scene load under Systems disabled object. That way systems will get the most fresh SaveData object (after validation and remote save load if there is):

Systems disabled object for all systems that should be inited after save data ready
Default systems that already in Systems holder

AppStart.cs will trigger all systems after version validation (also remote save load can be). All objects replaced under disabled object "Systems" should be in active state. AppStart.cs will unparent them as soon as save data will be ready. By unparenting all objects under Systems all unparented objects will invoke Awake and Start methods (if there is).

Unity logs in build

comment highlighted lines to enable logs in build

Last updated