As the title suggest, I’m very curious how many bytes are sent when a TSubclassOf is replicated across the network? I tried searching but could not find an answer for this.
Thank you in advance
As the title suggest, I’m very curious how many bytes are sent when a TSubclassOf is replicated across the network? I tried searching but could not find an answer for this.
Thank you in advance
Class replication is very cheap as it is replicated by the package map id.
Thanks, while we are on the subject, is there a way to know the size of structs that are getting replicated( FHitResult for example )
You can always use sizeof(Struct) to get the maximum that would be sent, but packing should make it smaller. Be careful with replicating structs, as the data can be quite large.
Ok, thank you for the help!