Core hooks are powerful and there are some docs around them, but I often find myself asking, “When exactly is this called?” and I have to do a lot of experimenting to figure out the best core hook to override to do what I need.
Specifically, I’m wondering about the following:
The main question I have is around more of the start-up and launching workflow. Specifically these:
So in general, yes I know when they are fired. But I’m less sure when they’re called in relation to the overall bootstrap process. It would be great to have a bit more of a specific timeline, diagraming when each of these is called in relation to the artist workflow in SG Desktop or the Shotgun engine. I’m typically trying to setup something or ensure an env var is set so I can act on it before artists launch into their DCC or custom TK app. Maybe there are other core hooks that get run between SG Desktop login and loading the PC for their project? I don’t know.
Also important to highlight is when they are called multiple times in the workflow of an artist logging in to SG Desktop and then clicking on their Project.
Finally, how this may differ if an artist is launching from Shotgun or the shell, or if there are similar workflows that may NOT fire the core hook, that we should watch out for.