I have had issues with spawn not running immediately. Based on using prints, my case went like this:
I spawned other functions regularly with a delay (not sure about wait) in the middle of them, and when I tried to spawn an entirely different function elsewhere, it wouldn’t start until all delays from the previous functions had been run through, which took anywhere from 0 seconds to 10 seconds.