I’m instantiating this prefab:
With this code:
GameObject goPrefab;
if (AssetHandler.GetInstance().prefabData.TryGetValue(archPrefabToCreate, out goPrefab))
{
Entity spawnedEntity = entityManager.Instantiate(goPrefab);
}
The goPrefab is being found correctly, and the entity is being created, however its missing all components, such as mesh and translation.
Am I missing a step or something?