1. windowmaker

    windowmaker Naked Wanderer

    Hey does anyone have the updated pattern to generate prefabs? Seems something has broken:

    Try to spawn bear using the typical:

    private BaseEntity SpawnEntity(string entityName, Vector3 pos, Quaternion rotation)
    BaseEntity entity = GameManager.server.CreateEntity(entityName, pos, rotation, startActive: true);
    if (entity == null) return null;


    return entity;

    Getting error:
    StringPool.GetNumber - no number for string assets/bundled/prefabs/autospawn/animals/bear.prefab
    [BUNDLE] Not found: assets/bundled/prefabs/autospawn/animals/bear.prefab
    Couldn't find prefab "assets/bundled/prefabs/autospawn/animals/bear.prefab"

  2. Maurice

    Maurice Wood Hoarder Plugin Developer

    windowmaker likes this.
  3. maxaki

    maxaki Shack Builder

    Try use Prefabsniffer
    windowmaker likes this.