Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Dec 00:19
9a03b8b

2.0.0 (2023-12-09)

breaking

Bug Fixes

  • #3528, #3529 NetworkBehaviour.authority now evaluates correctly in host mode too (bdb6cd8)
  • #3588 NetworkTransform OnTeleport doesn't call Reset() anymore, causing NetworkTransformReliable's delta compression to get out of sync before (631b8e0)
  • #3632 disable EdgegapKcpTransport OnGUI 'new' warning (a432b7f)
  • Add missing GetHashCode method for older Unity (#3631) (97dc02e)
  • AdditiveLevels: Fixed Portal label generation (0c81663)
  • CanvasNetworkManagerHUD: added namespace (1113e45)
  • ClientWebsocketSettingsDrawer: Syntax Error (0aef642)
  • ConnectionQuality: Move Connection Quality to Network Client (#3693) (92b9933)
  • ConnectionQuality: reordered enums (f04a2a9)
  • Edgegap Plugin 'InvalidOperationException: This instance has already started one or more requests.' when trying to Connect->Disconnect->Reconnect or Start->Stop->Start server (9979745)
  • Edgegap Plugin now creates Dedicated Server instead of Headless --nographics builds which should include #UNITY_SERVER define (4193d75)
  • Edgegap plugin now detects and warns about ARM CPUs instead of deployments failing silently (bb9bf76)
  • Edgegap Plugin: Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included - this is now included via Package Manager dependency (ec548a6)
  • EdgegapHosting connect uses passed-in name/version (#3646) (d4734c0)
  • EdgegapHosting: registry/image name/tag whitespaces are trimmed and throw errors instead of failing with "ERROR: "docker buildx build" requires exactly 1 argument." (b0e7703)
  • EdgegapPlugin EdgegapWindow.cs UIToolkit stylesheet paths aren't hardcoded anymore, allowing users to move Assets/Mirror/Hosting/Edgegap folder (eab8609)
  • EdgegapPlugin now builds properly on ARM machines instead of deployments failing silently (1b5f963)
  • EdgegapPlugin now shows detailed progress bar title and indicates 'Uploading' while uploading instead of freezing at 'Build and push: Pushed' for several minutes while uploading (9deff7e)
  • EdgegapPlugin progress bar getting stuck when returning early without clearing it (0a3368a)
  • EdgegapPlugin typo (bcea211)
  • EdgegapPlugin Unity 2019/2020 support (3f31cbd)
  • EdgegapWindow: Simplify clearing ProgressBar (#3645) (7bcaae9)
  • Fix Unity 2023 obsoletes (#3635) (64cb1a0)
  • GUIConsole: Changed position / layout (a3cb760)
  • GUIConsole: default hotkey changed to tick (Back Quote) (65fc3db)
  • Headless / Dedicated Server detection now works on Unity 2019/2020 without dedicated server build support too (#3643) (42a89a7)
  • improve NetworkMessage ID Hashing to minimize collisions (#3618) (24d0ebe)
  • KCP V1.38 [2023-10-29] (#3629) (993ae8d)
  • KCP: Added port to ToString (#3683) (c1699f8)
  • KCP: Use compiler symbols in Available (#3668) (93d7bd1)
  • KCP: Use Log.Info instead of Debug.Log (#3671) (d6c0c17)
  • LatencySimulation now always applies latency to both channels. Fixes hard to debug issues where [SyncVar/Command/Rpc]s would be way off while NetworkTime.time was fine, due to latency being applied to only one channel. (#3627) (9fe1d06)
  • MultipleAdditiveScenes: Fixed missing RandomColor script on Player (eb08396)
  • Multiplex: ToString all on one line (74df250)
  • MultiplexTransport: Add Server listening output (54309b5)
  • NetworkClient: GUILayout tiny bit wider (5ac3cdb)
  • NetworkIdentity: Made clientStarted public and moved it up (28a876c)
  • NetworkManager autoStartServerBuild now only auto starts a server in build, not in editor (1641bba)
  • NetworkManager: CalculateConnectionQuality and OnConnectionQualityChanged are now public (c66f40f)
  • NetworkManager: Move networkAddress check up in StartClient (11dc4a9)
  • NetworkManager: Remove check for editor in Start (#3670) (c621049)
  • NetworkTime creates it's own frame time in 2019 (#3624) (0c5eba7), closes #3623 #2838
  • PhysicsSimulator: Consolidated to Common (ec35774)
  • PlayerPredicted: Fixed deprecated FindObjectOfType (fd049fc)
  • Port log for when Server has started and is listening. (#3642) (b195cc0)
  • PredictedState: Remove public accessors (#3649) (63f0fe4)
  • RandomColor: Consolidated to Common (55e8ca5)
  • Reset Scenes for 2019+ (dd1923e)
  • Reset walls (f0b4694)
  • StinkySteak: Cannot use shortened new() in older Unity (d477189)
  • SWT: Changed two logs to Verbose in WebSocketServer (5e33b03)
  • SWT: Improve OnClientError / OnServerError (7b3b730)
  • SWT: Port get/set based on platform (af5627e)
  • SWT: Removed Console.Clear from ServerSslHelper (6a27496)
  • SWT: silenced silly error logs (b9b80c4)
  • SWT: Use server port in ClientConnect (dcccaa9)
  • TanksCoop example, reset host values. (#3660) (d559676)
  • Telepathy V1.9 (d1c6084)
  • Telepathy: Shorter Simpler ToString (#3669) (843d265)
  • Telepathy: Use compiler symbols in Available (#3667) (98dcffb)
  • Utils: Fix IsHeadless to work in editor for Unity 2021+ (#3680) (f701ae1)

Features

  • [SimpleWebTransport] Add ability to specify a custom client port (for reverse proxy scenarios not using port 80/443) (#3648) (2425898)
  • Added NetworkDiagnosticsDebugger to log messages sent and received (#3665) (21bc42f)
  • Compress network transform rotation boolean. (#3677) (49e5f76)
  • HUD: Better HUD for WebGL (#3659) (f83d568)
  • NetworkManager Populate Spawnable Prefabs button (#3608) (8a0f6b1)
  • NetworkManager: Ability to toggle auto-start in Editor (#3694) (ab99215)
  • NetworkManagerHUD exposes configurable Port field if Transport uses a Port (38c3781)
  • NetworkManager: Refactor Headless Start (#3664) (447e96d)
  • NetworkTransform obsolete define removal. (#3687) (16dbeb1)
  • Prediction October Progress [don't use this yet!] (7514e9b)
  • Reader/Writer: Added LayerMask Support (eb66d81)
  • SWT: Logging System Overhaul (#3663) (dfec9a7)
  • Templates: Added Script Templates with Actions (1cda803)
  • Utils: Add IsWebGL and IsDebug (#3688) (c980fd9)

Performance Improvements

  • SyncVar hook invocations no longer instantiate a new action delegate on every call (#3615) (608429c)

Reverts

  • Revert "fix(MultiplexTransport): OnValidate check that SimpleWebTransport is last" (e955d34)
  • Revert "SWT: port changed to Port, WebGL Platform handling" (e72f85e)
  • Revert "fix: MirrorNetworking#3576 Pings are now stamped with a scene hash so we can drop messages before a (potentially long) scene load. fixes a bug where RTT would be very high after a long scene load. (MirrorNetworking#3650)" (816b775), closes #3650
  • Revert "fix: Edgegap Plugin 'InvalidOperationException: This instance has already started one or more requests.' when trying to Connect->Disconnect->Reconnect" (bccebc6)

BREAKING CHANGES

    • Removed older Obsoletes