Skip to content

Latest commit

 

History

History
114 lines (90 loc) · 3.21 KB

File metadata and controls

114 lines (90 loc) · 3.21 KB

07/12/2023 [LATEST]

Commit Hash: b2169082383031f803f1ccb70944af878b6e6a3d (07/12/2023)

Netcode Version

Netcode Version Transport
Fusion 1.1.8 F 725 Realtime
Fusion 2 2.0.0 RC 797 Realtime
Netick Netick 2 Beta 0.8.8 LiteNetLib
NGO 1.2.0 Unity Transport
Fishnet 3.11.10 Tugboat
Mirror 86.4.0 KCP

Netick

  • Server port: 25565
  • Default Transform Settings
    • Teleport Distance: 50
    • Precision: 0.001
    • Sync Position & Rotation,
    • Compress Pos & Rot
    • Compress Rot Aggressively
  • Issue: Object position sync is late upon spawn
Server Out (kBps) Total Bytes
Move Y 27 1,625,872
Move All Axis 87 5,241,653
Move Wander 96 5,806,491

Fusion v1

  • Client port: 40000+ (Random)
  • Server port: 40000+ (Random)
  • Default Transform Settings
    • Precision 0.001
  • Delta Snapshot
Server Out (kBps) Total Bytes
Move Y 26 1,575,892
Move All Axis 81 4,880,361
Move Wander 125 7,540,518

Fishnet

  • Default Transform Settings
    • Precision 0.01
  • Server port: 25565
  • Uses TimeManager.OnTick
Server Out (kBps) Total Bytes
Move Y 62 3,739,734
Move All Axis 103 6,233,260
Move Wander 145 8,716,649

NGO

  • Default Transform Settings
  • Server port: 25565
  • Uses FixedUpdate() at 20hz
  • Issue: object interpolate from 0,0,0 then to their latest position on the server. Basically a teleport.
Server Out (kBps) Total Bytes
Move Y 265 15,951,578
Move All Axis 306 18,417,339
Move Wander 461 27,712,536

Mirror

  • Default Transform Settings
    • Unreliable Transform
  • Server port: 25565
  • Uses FixedUpdate() at 20hz
  • Issue:
    • Late Joiners doesn’t replicated properly If Player prefab & auto register player is off
    • NT doesn’t replicated properly if target is child transform instead of root transform
Server Out Total Bytes
Move Y 267 16,079,187
Move All Axis 307 18,431,536
Move Wander 459 27,564,827

Fusion v2 [Need to be Verified]

  • Client port: 40000+ (Random)
  • Server port: 40000+ (Random)
  • Default Transform Settings
  • Replication Feature: Scheduling
  • Issue:
    • Only 255 Objects spawned on client if replication feature is set to None
    • Objects doesn’t get replicated to client if objects is spawned after client is joined
    • Assumption: Fusion v2 Scheduling only sends the snapshot after 2 ticks because the packet size is too big
Server Out (kBps) Total Bytes
Move Y 86 5,165,397
Move All Axis 79 4,764,029
Move Wander 85 5,138,963

Comparison

  • Fusion v2 might be inaccurate due to this [Assumption: Fusion v2 Scheduling only sends the snapshot after 2 ticks because the packet size is too big]
Mirror NGO Mirage Fishnet Netick Fusion Fusion 2
Move Y 267 265 137 62 27 26 86 kBps
Move All Axis 307 306 124 103 87 81 79 kBps
Move Wander 459 461 138 145 96 125 85 kBps