1. CreateEntity is part of the Rust codebase so every Rust update there is a possibility that some methods change. CreateEntity now looks like this:
    Code:
        public BaseEntity CreateEntity(string strPrefab, Vector3 pos = default(Vector3), Quaternion rot = default(Quaternion), bool startActive = true)
        {
            if (string.IsNullOrEmpty(strPrefab))
            {
                return null;
            }
            GameObject gameObject = this.CreatePrefab(strPrefab, pos, rot, startActive);
            if (gameObject == null)
            {
                return null;
            }
            BaseEntity component = gameObject.GetComponent<BaseEntity>();
            if (component)
            {
                return component;
            }
            Debug.LogError(string.Concat("CreateEntity called on a prefab that isn't an entity! ", strPrefab));
            Object.Destroy(gameObject);
            return null;
        }
     
  2. Thank you.