CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
Script Execution Order
To run CRIWARE components, you must specify the correct order for executing some scripts.
Use Unity's Script Execution Order function to ensure that the component scripts are executed in this order:
  1. Plugins/CriWareErrorHandler.cs
  2. Plugins/CriWareInitializer.cs
  3. Plugins/CriAtom/CriAtom.cs
  4. Plugins/CriMana/CriManaMovieMaterial.cs
  5. Plugins/CriMana/CriManaMovieControllerForUI.cs
  6. Plugins/CriMana/CriManaMovieController.cs
  7. Plugins/CriMana/CriManaMovieAmbisonicSource.cs
Adjust the Execution Order so that all the game scripts that use CRIWARE components are executed after the above components.
The Execution Order value when the package is imported
After the Using the CRIWARE Unity Plugin custom package in the SDK is imported, the Execution Order is set as above, as shown on the following picture.


adx2u_executionorder_float.png


After import, you can change the Execution Order as long as the order for the CRIWARE scripts is maintained.