#Ghost not serialize with correct components in a build, but normal in the editor

1 messages · Page 1 of 1 (latest)

arctic ledge
#

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.