I have an actor component that is added in the construction script of an actor.
it runs the multicast on server just not on client, i know this because i had a print string. anyone know why it wont run on client?
I have an actor component that is added in the construction script of an actor.
Still learning replication a bit myself, but best guess its not the owning actor, or that has authority switch messes something up
don’t do RPCs in the construction script.
Construction scripts only run on server, never client but also it will run before the client has spawned its local version.
this would be true for BeginPlay as well, since the Server BeginPlay will happen before the client has spawned.
the best way is to RepNotify those varrialbes and On_RepNotify handle the client logic