Spawning multiple objects with GameManager.server.CreateEntity(), when spawning with For loops i tend to get some null reference exceptions,
is there much difference efficiency wise in using a repeating timer with a small interval than using a For loop, or alternativley any way to deal with the exceptions?
Thanks
Timer vs Loops?
Plugins should always be checking the return value of GameManager.server.CreateEntity() in case it's null. If you are seeing it is null in some cases, my guess would be that it's not related to looping.