Skip to content

ClientRPC on Host should have option to delay execution  #2504

Description

@matthieu-blin

Is your feature request related to a problem? Please describe.
Porting a UNET project to NGO i found a major difference in clientrpc/RPC behavior for Host
On UNet, RPC call on Host is delayed
On NGO, ClientRpc call is immediate

Describe the solution you'd like
Maybe an argument like [ClientRPC(HostDelay = true)]

Describe alternatives you've considered
A configuration through NetworkManager for all NetworkBehaviour

Additional context
Note : Documentation on unity website is confusing : the diagram state "still delayed call due to internal queue" and text below "immediately invoked"
Same for ServerRpc doc btw

Metadata

Metadata

Assignees

Labels

type:featureNew feature, request or improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions