You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I connect four players in MPPM. I spawn 100 constantly moving objects with a NetworkTransform that syncs the position and Y rotation at 20 Hz tick rate. I use Unity 6000.0.24 with NGO 2.0.0 and MPPM 1.3.1 on Win11.
Upon repeatedly entering playmode, the reported stats continue to deviate from the first run. These stats only reset when setting "Enter Play Mode Settings" to "Reload Domain" and restarting the editor.
Observation:
with domain reload disabled: every time I enter playmode, the host's upstream seems to roughly double compared to the last playmode session. The client's downstream values also increase accordingly. Example: first session the host's upstream is 120 Kb/s. Second time it's 240 Kb/s. Third time it's 350 Kb/s.
with domain & scene reload enabled, the same stats are reported every time I enter playmode
Note: I also have asset autorefresh disabled. Didn't test if this has any effect.
I suppose there are some static fields involved that are not being reset.
This means currently RuntimeNetworkStatsMonitor reports incorrect values if domain reload is disabled. Not knowing this and only performing a quick test here and there, this will lead to incorrect assessments and actions taken.
The text was updated successfully, but these errors were encountered:
This is a known issue with the RNSM and detecting when a new NetworkManager instance has been created and/or destroyed. #3088 provided a mechanism to help with this. I will check when the next update for the Multiplayer Tools package will be and if that will include updates to RNSM.
Description
I connect four players in MPPM. I spawn 100 constantly moving objects with a NetworkTransform that syncs the position and Y rotation at 20 Hz tick rate. I use Unity 6000.0.24 with NGO 2.0.0 and MPPM 1.3.1 on Win11.
Upon repeatedly entering playmode, the reported stats continue to deviate from the first run. These stats only reset when setting "Enter Play Mode Settings" to "Reload Domain" and restarting the editor.
Observation:
Note: I also have asset autorefresh disabled. Didn't test if this has any effect.
I suppose there are some static fields involved that are not being reset.
This means currently RuntimeNetworkStatsMonitor reports incorrect values if domain reload is disabled. Not knowing this and only performing a quick test here and there, this will lead to incorrect assessments and actions taken.
The text was updated successfully, but these errors were encountered: