Search Issue Tracker

Fixed

Fixed in 2.4.0

Votes

0

Found in [Package]

netcode-gameobjects-2.3.2

Issue ID

MTTB-1336

Regression

No

NetworkShow Followed by ChangeOwnership generates ownership error on target client side

Package: Multiplayer Netcode for GameObjects

-

This bug was created after investigating Forum-Support-1646996.

Steps to reproduce:

  • Create a session with at least 2 clients (one being a host or session owner)

* Using MPPM is helpful here in order to easily have access to all clients' console logs.
Spawn a NetworkObject with no observers.

  • On the authority side:

** Invoke NetworkShow targeting a client without visibility of the NetworkObject.
* Immediately after that, invoke ChangeOwnership targeting the same client.
Observe the target client's console log output.

\\
Actual results: 
An error message is logged regarding an unnecessary change in ownership message.

Expected results: 
No error message should be logged and NGO should not send the change in ownership message to the target client under this specific scenario.

\\
Reproducible with versions: 
NGO v2.x

Not reproducible with versions: 
NGO v1.x

Can’t test with versions: 

\\
Tested on (OS): 
Windows

\\
Notes:

  •  

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.