I’ve created an Actor that spawn an other actor (Blueprint) server side,
GetWorld()->SpawnActor(ObjectClass, GetActorLocation(), FRotator::ZeroRotator, Params);
But after doing profiling, i noticed that spawning my actor was using ±50ms when spawned and replicated
The server seems to take 25ms to spawn the object and 25ms to serialize the skeletal mesh.
My guess was that if the server serialize the skeletal mesh it’s because it is sent to the client.
Is there a way to spawn my actor without the skeletal mesh, and then replicated it so that the client receive it
Or on other good practice for spawning an Actor without graphical elements on the server, but to have them on the client (Because they have the blueprint too)
I need to spawn it on the server, because this actor can move and can be destroyed