1. When I spawn a bandit I get this warning in the console log:

    Code:
    Effect.Init - invalid entity
    I use this code to spawn the bandit:

    Code:
    var bandit = (Scientist)GameManager.server.CreateEntity("assets/prefabs/npc/bandit/guard/bandit_guard.prefab", new Vector3(position.x, position.y, position.z));
    bandit.Spawn();
    Anyone else experienced this and found a fix?
    Maybe it comes from the radio effect that normal scientists have?

    EDIT: I fixed it by setting the RadioEffect to null.
     
    Last edited by a moderator: Aug 7, 2018