Getting gameObjects to lookAt using runtime csharp script

I’ve got a lookAtTarget script for a NPC instantiated at runtime through csharp script that would look at my player who is also instantiated at runtime from the project using csharp script.

However the lookAtTaget script fails because the player isn’t instantiated yet.

How can I force the player character to be created through script before any NPC characters ?

Or get the lookAtTarget script to be executed after for example my setUpCharacters method ?

syclamoth: Use script execution order to get better control over what starts first. That, or instantiate your player in Awake, and the NPCs in Start