Script Execution Order Settings

Hi,

I changed Script Execution Order Settings for my project, I added one script (TestScript.cs) above the default time. This helped in fixing the order of execution bug. In asset server It shows there is a change in script. But when I compared the script for the changes, It shows nothing.

Where and how the Script “Execution Order Settings” saved.

Thanks,
pvk

They get saved in the project settings, not in the script file itself.

Hi,

Even I thought, it will change in project settings. But unity asset server didn’t show any change in project settings. Also I committed the script file in my system and updated the project in my colleagues system and I could see the changes in script execution order.

I was looking for the same information and found it for our case.

I have setup my project to use visible meta files and the execution order is actually stored in there:

fileFormatVersion: 2
guid: 58a8e8f97c022874687852eeb6e0c4a5
MonoImporter:
serializedVersion: 2
defaultReferences: [ ]
executionOrder: -50
icon: {instanceID: 0}
userData:

Hope that helps to anyone looking for this info in the future.

Shawn

3 Likes

This was a confusing one, I was wondering why the execution order wasn’t getting pushed then I found the meta file which I never pushed. Thanks, shawn