[NetCode] Is PredictedGhostSpawnRequestComponent out of date in the documentation?

It does seem to appear in the Asteroids sample released by Unity.

And not including it after spawning bullet prefabs doesn’t cause any issues.

I am wondering if it was obviated by:

m_BulletPrefab = GhostCollectionSystem.CreatePredictedSpawnPrefab(EntityManager, foundPrefab);

Yes, it seems calling the function GhostCollectionSystem.CreatePredictedSpawnPrefab(EntityManager, foundPrefab);
adds the PredictedGhostSpawnRequestComponent and that part has not been removed from the documentation.

1 Like