When I try to get a component type by the TypeIndex, I get Unity.NetCode.PendingSpawnPlaceholderComponent, both on the server and on the client. I create a prefab from an entity at runtime by the GhostPrefabCreation.ConvertToGhostPrefab with components already on it, and then spawn ghosts from them.