Commit Graph

8254 Commits

Author SHA1 Message Date
mischa
7c87da9bc7 NetworkAnimator: OnSerialize syntax 2024-01-02 13:27:43 +01:00
mischa
275d5ad797 fix: #3710: NetworkServer.SendToAll/Observers/ReadyObservers now validates packet size while <T> is still known 2024-01-02 13:14:43 +01:00
mischa
732c4ebdab fix: #2810 NetworkAnimator now initializes state in OnEnable too 2024-01-02 11:40:10 +01:00
MrGadget1024
325cc15f5b feat(Chat Example): Bidirectional sync of networkAddress 2024-01-01 10:23:24 -05:00
MrGadget1024
e1195391c6 fix(MultipleMatches): MatchGUI Toggle OnValueChanged > OnToggleClicked 2024-01-01 07:53:05 -05:00
mischa
56a1aa096f fix: #3708 Kcp Stophost() null reference exception 2024-01-01 09:40:39 +01:00
MrGadget1024
4285a9b123 MatchController Prefab: resized Text element 2023-12-31 17:27:52 -05:00
MrGadget1024
a54c8bd9bd fix(NetworkManager): OnConnectionQualityChanged silenced log spam 2023-12-30 07:37:59 -05:00
MrGadget1024
6c14f0e402 chore(CI): RunUnityTests - updated unityVersion 2023-12-30 07:25:09 -05:00
MrGadget1024
4c295a80b6 fix(ChatNetworkManager): Removed singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
1ccf954bbd fix(AdditiveLevelsNetworkManager): Simplified singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
1430027e99 fix(NetworkRoomManagerExt): Simplified singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
a322f009c6 fix(AuthorityNetworkManager): Removed singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
112d6f4040 fix(MatchNetworkManager): Removed singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
01be4fe67d fix(MultiSceneNetManager): Removed singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
ae6a6355b1 fix(BasicNetManager): Removed singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
143dede60d fix(AdditiveNetworkManager): Removed singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
a425736bda fix(NetworkManagerCharacterSelection): Simplified singleton 2023-12-30 07:22:20 -05:00
MrGadget1024
5348e23ce4 chore(CI): Always produce test results 2023-12-26 07:17:04 -05:00
MrGadget
a8a2e01b89
fix(NT Base): Consolidate NT fields to NT Base (#3706)
- Compress Rotation
- Only Sync On Change
2023-12-24 10:29:30 +01:00
MrGadget1024
b9601b9e7f perf(Examples): Enabled NT Compress Rotation 2023-12-24 04:02:32 -05:00
mischa
0d64d4718f fix: #3704 remove old fix for #2353 which caused log spam and isn't needed anymore since the original Mirror issue is long gone 2023-12-23 22:17:20 +01:00
JesusLuvsYooh
4caa831bdb
fix: Rotation compression using world when null value (#3705)
Fixes spazzing out of rotations, which was caused by flicking between compressed quaternion and world rotation.
Happened only if using NetworkTransformUnreliable, local worldspace and quat compression.
2023-12-23 21:34:37 +01:00
MrGadget1024
06d40d38d9 chore(CI): force unity-test-runner to use v4.0.0 2023-12-23 14:47:27 -05:00
MrGadget1024
b0f0145cc8 Revert "chore(CI): unity-test-runner@v3"
This reverts commit 0df8191039.
2023-12-23 11:56:41 -05:00
MrGadget1024
0df8191039 chore(CI): unity-test-runner@v3 2023-12-23 11:53:37 -05:00
MrGadget1024
96dd9dbba1 chore(CI): activation use upload-artifact v4 2023-12-23 11:28:59 -05:00
mischa
e46aff53d1 Prediction: only show ghosts while not inside the target object 2023-12-19 15:07:14 +01:00
mischa
88c7fa78c1 fix(NetworkPingDisplay): increase default width so rtt number isn't cut off 2023-12-19 14:46:32 +01:00
mischa
58148e02e5 fix(Prediction): PredictedRigidbodyVisual rotation interpolation now works 2023-12-19 14:12:06 +01:00
mischa
3d87b3f0c3 PredictedRigidbody: force SyncDirection so users can't configure it wrongly 2023-12-19 13:32:22 +01:00
mischa
f1cf4f6067 fix(Prediction): PredictedRigidbody now copies all materials, not just the first 2023-12-19 13:06:33 +01:00
mischa
0864676948 perf(PredictedRigidbody): get mesh renderer only once 2023-12-19 13:06:30 +01:00
mischa
12e73d3619 fix(Prediction): PredictedRigidbody now sets all materials to ghost material, not just one 2023-12-19 12:58:02 +01:00
MrGadget1024
2c0254c574 chore(CI): RunUnityTests - updated unityVersion 2023-12-16 21:22:07 -05:00
MrGadget1024
0fe6726710 chore(CI): RunUnityTests - updated unityVersion 2023-12-16 15:33:30 -05:00
mischa
91e028fbb4 MIRROR_86_OR_NEWER 2023-12-12 10:37:33 +01:00
MrGadget
5132fa8bfc
feat(HUD): Support for MultiplexTransport Port (#3662)
* Moved Multiplex to Core

* Updated Available and ToString in Transports
- Available now uses `#if UNITY_WEBGL` because `Application.platform != RuntimePlatform.WebGLPlayer;` doesn't work in Editor
- ToString was shortened and includes port for presentation in HUD

* NetworkManagerHUD: Added support for MultiplexTransport

* Moved Multiplex back to Transports

* Implemented PortTransport in Multiplex

* NetworkManagerHUD: reverted width change

* Revamped Port handler

* Changed LogError to LogWarning in Port setter

* Moved ToString change to separate PR

* Use Utils.IsHeadless

* Use Utils.IsDebug

* Removed console logging
2023-12-12 10:23:35 +01:00
MrGadget1024
b2d2cae776 perf(PlayerController): Changed 4 examples to NT-Reliable
- Tanks, Benchmark, CCU, and Pong examples all still use NT-Unreliable
2023-12-11 18:44:03 -05:00
mischa
c1be7b30e3 fix(Edgegap Plugin): fix NRE when reloading assets 2023-12-11 12:06:36 +01:00
mischa
a27a0aedc3 fix script icons 2023-12-11 12:06:33 +01:00
mischa
3e30c44864 Examples/Common: scripts moved into Scripts/ 2023-12-11 11:58:05 +01:00
mischa
67f32f2d90
feature: Edgegap Plugin V2 (#3692)
* Edgegap Plugin V2 from https://github.com/dylanh724/edgegap-unity-plugin-v2/tree/feat/plugin-v2.2

* fix things

* fix warnings

* fix u2020 support

* fix nre

* fix logo hardcoded path

* fix clipboard image hardcoded path and remove fonts

* syntax

* fix unity 2019/2020 breaking all editor UIs

* fix NRE on first open due to old window

* fix 2019 asserts

* link to our documentation

* disable warning

* fix unity 2019 unsupported syntax error

* Mirror.Hosting.asmdef: fix missing ref

* fix: remove all fonts to avoid the errors

* readme: two click hosting

* readme

* better

* fix 2019 errors

* fix U2020 async warning

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-12-09 11:02:01 +01:00
Clayton Hunsinger
608429c314
perf: SyncVar hook invocations no longer instantiate a new action delegate on every call (#3615)
Co-authored-by: Clayton Hunsinger <clayton@talofagames.com>
2023-12-06 15:28:54 +01:00
MrGadget
ab99215e68
feat(NetworkManager): Ability to toggle auto-start in Editor (#3694)
* feat(NetworkManager): Ability to toggle auto-start in Editor

* use Application.isEditor

---------

Co-authored-by: mischa <info@noobtuts.com>
2023-12-06 14:27:46 +01:00
MrGadget
92b99335d8
fix(ConnectionQuality): Move Connection Quality to Network Client (#3693)
* fix(ConnectionQuality): Move Connection Quality to Network Client
- Added zero as disable value
- Added Tooltip and Range to NetworkManager.connectionQualityInterval
- Obsoleted NetworkManager.OnConnectionQualityChanged
- Added temporary event wireups for OnConnectionQualityChanged
- Removed Action and overrides from NetworkManager template

* Removed stray blank line

* Added ConnectionQualityMethod Selection
- Enum added to ConnectionQuality
- Fields added to NetworkManager and NetworkClient
- Switch added to NetworkClient.UpdateConnectionQuality

* Use right params for Pragmatic

* Renamed Fields in NetworkManager
2023-12-06 10:06:31 +01:00
MrGadget1024
dd1923e4fd fix: Reset Scenes for 2019+ 2023-12-05 17:00:31 -05:00
MrGadget1024
d477189a97 fix(StinkySteak): Cannot use shortened new() in older Unity 2023-12-05 16:38:43 -05:00
MrGadget1024
b6f86ac3e7 Revert "fix(Examples): Updated scenes and lighting"
This reverts commit e2d63a88b0.
2023-12-05 16:33:45 -05:00
MrGadget1024
f04a2a915c fix(ConnectionQuality): reordered enums 2023-12-05 11:49:38 -05:00