Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter for NetworkVariable / Custom Struct INetworkSerializable #3189

Open
byonfysx opened this issue Jan 3, 2025 · 0 comments
Open

Parameter for NetworkVariable / Custom Struct INetworkSerializable #3189

byonfysx opened this issue Jan 3, 2025 · 0 comments
Labels
stat:awaiting triage Status - Awaiting triage from the Netcode team. type:feature New feature, request or improvement

Comments

@byonfysx
Copy link

byonfysx commented Jan 3, 2025

Im fully understand how Custom Message and Rpc`s work but having an option to send and receive the data over the network without having to use these two would be great especially if we want to send and receive under unreliable / UDP.

My suggest is to add some parameter for NetworkVariable called {delivery = NetworkDelivery.Unreliable} same as using Rpc`s parameter.

Right now NetworkVariable only have 3 parameter, example :
{ default, NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Server }

maybe we could have something like :
{ default, NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Server, NetworkVariableUpdate.Continuous, NetworkDelivery.Unreliable}

NetworkVariableUpdate.Continuous stands for variable will update even the value not changed.
NetworkVariableUpdate.OnChanged stands for variable will update if the value is changed.

NetworkDelivery.Reliable stands for sending via TCP
NetworkDelivery.Unreliable stands for sending via UDP

The reason i request this feature because NGO lack with prediction, reconciliation, ireplicate, ireconcile method. Having this NetworkVariable feature would help user to create their own method easily. Hope NGO developer can consider this feature. Thanks.

@byonfysx byonfysx added stat:awaiting triage Status - Awaiting triage from the Netcode team. type:feature New feature, request or improvement labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting triage Status - Awaiting triage from the Netcode team. type:feature New feature, request or improvement
Projects
None yet
Development

No branches or pull requests

1 participant