Commit Graph

8794 Commits

Author SHA1 Message Date
MrGadget
d80049faca chore(CI): Suppress Hosting folder 2024-08-10 07:33:26 -04:00
mischa
de7ac40af9
perf: Weaver automatically uses VarInt compression for all integers in [SyncVar]/[Command]/[Rpc]/SyncList/NetworkMessage/etc. (#3870)
* perf: NetworkReader/Writer: read/write collection size headers as VarInt for significant bandwidth reduction!

* Weaver: when defining multiple Readers/Writers of same type, choose the one with priority suffix

* perf: NetworkReader/Writer: define weaver preferred VarInt compression for integers

* [WeaverPriority] attribute and more tests

* remove unused

---------

Co-authored-by: mischa <info@noobtuts.com>
2024-08-10 11:54:21 +02:00
MrGadget
d8c7c1e815
feat(NetworkServer): Improved ReplacePlayerForConnection (#3885)
- ReplacePlayerOptions: KeepAuthority, KeepActive, Unspawn, Destroy
- NetworkServer tests updated
- Examples updated and work correctly

Eliminates need to make a coroutine to replace & destroy player.
2024-08-10 11:40:52 +02:00
MrGadget
46010ca49c
fix(NetworkClient): InvokeIdentityCallbacks call OnStartClient first (#3884)
- This is for host client to match logical call order as remote client
2024-08-10 11:39:03 +02:00
mischa
c77d8459fb fix: NetworkServer.BroadcastToConnectio can now recover from null entries instead of slowing down perf with log messages forever [credits: BigBoxVR/CF] 2024-08-10 11:26:48 +02:00
MrGadget
0cb777d3dd chore(CI): RunUnityTests - updated unityVersions 2024-08-09 17:17:42 -04:00
MrGadget
6b3f70ab51 fix(TankAuthority): Player pos 1m up 2024-08-09 16:48:14 -04:00
mischa
2fe1b8fd38
perf: NetworkReader/Writer: read/write collection size headers as VarInt for significant bandwidth reduction! (#3868)
Co-authored-by: mischa <info@noobtuts.com>
2024-08-09 09:58:22 +02:00
MrGadget
96ba861e2c chore: Example Controllers Code Cleanup 2024-08-06 23:36:55 -04:00
MrGadget
e21339240d chore(CI): RunUnityTests - updated unityVersions 2024-08-05 21:00:51 -04:00
MrGadget
f56528ffaa fixed platform collider 2024-08-03 14:22:01 -04:00
MrGadget
455bb7a97d release: Mirror 90.0.0 2024-08-02 15:10:06 -04:00
MrGadget
56b8ff3304 CI - Include Hosting folder 2024-08-02 15:09:04 -04:00
JesusLuvsYooh
5b7da43d5c
fix: Examples colliders and missing namespace. (#3881)
* fix: Example scene and prefab colliders fixed.

No idea what happened, but some box colliders seem to be double the default size.

* Namespace to couch coop scripts.
2024-08-02 06:57:56 -04:00
MrGadget
b409245946 TopDownShooterLighting 2024-07-31 08:28:47 -04:00
MrGadget
b5a3bd2f9f TopDownShooter 2019 Updates 2024-07-31 08:28:11 -04:00
MrGadget
7ada79e6a1 fix(TopDownShooter): simplify Flashlight code 2024-07-30 11:31:22 -04:00
mischa
87ca42eda9 fix: TimeSnapshotMessage doesn't require authority anymore to avoid disconnecting connections where the unreliable message arrived before the reliable authority message 2024-07-30 17:18:01 +02:00
MrGadget
810e5f55c5 Examples - Lighting 2024-07-29 22:56:44 -04:00
MrGadget
9e9cbdb2f5 Examples - Lighting 2024-07-29 21:14:16 -04:00
MrGadget
3c4f465a70 Examples - Lighting 2024-07-29 18:09:04 -04:00
MrGadget
302e2ae82b
fix(Example Prefabs): Reset for 2019 (#3880) 2024-07-29 08:59:54 -04:00
MrGadget
f3924c44f9
fix(PlayerTest Example): Compatible with 2019 (#3879)
* Terrain 2019

* Lighting

* Baked Lighting

* Lighting color

* Terrain Data
2024-07-29 01:12:28 -04:00
MrGadget
1d851719c2
fix(Examples): Restored example scenes to 2019 compatibility (#3878) 2024-07-28 20:55:20 -04:00
MrGadget
483fd28517 fix(Example Prefabs): Reset sendIntervalMultiplier to 1 2024-07-28 08:12:34 -04:00
mischa
9913194d06 Benchmarks: reset send interval multipliers back to 1, otherwise it'll give misleading results 2024-07-28 11:16:58 +02:00
mischa
6e82a47479 NetworkTransformReliable: remove unused 'lastClientCount' 2024-07-27 14:04:04 +02:00
mischa
da12015aca NetworkServer/Client Broadcast: consistent syntax 2024-07-27 10:10:38 +02:00
mischa
0c213fbce4 NetworkClient/Server Broadcast: make this easier to read 2024-07-27 10:03:20 +02:00
MrGadget
bb552f8a54 fix(NetworkManager): offlineSceneLoadDelaySeconds -> offlineSceneLoadDelay and Range 0-60 2024-07-26 16:21:41 -04:00
mischa
bc9329a825
feature: NetworkManager gentle offline scene transition after disconnect. allows studios to show a 'Connection Lost!' message for a few seconds before entering a potentially minute long black screen scene load (#3875)
Co-authored-by: mischa <info@noobtuts.com>
2024-07-26 15:19:02 -04:00
MrGadget
693a9999d6 chore(CI): RunUnityTests - updated unityVersions 2024-07-26 09:49:49 -04:00
mischa
d4ee07694b Revert "Edgegap Plugin: switch to Package Manager dependency (#3845)"
This reverts commit 890f4e6c0b.
2024-07-25 21:12:36 +02:00
mischa
890f4e6c0b
Edgegap Plugin: switch to Package Manager dependency (#3845)
* remove Hosting/Edgegap

* pull in the plugin via package manager

* 1.0.7

---------

Co-authored-by: mischa <info@noobtuts.com>
2024-07-25 10:52:53 +02:00
mischa
e9c3548124 Revert "Benchmark: visRange 999 + NT Reliable"
This reverts commit 3f82e7cd11.
2024-07-24 18:25:51 +02:00
MrGadget
e65c54ef91 fix: Tank Prefabs and Controllers restore compressRotation 2024-07-24 08:22:43 -04:00
MrGadget
7587423401 fix(TankTheftAuto): Removed old Canvas UI 2024-07-23 12:51:19 -04:00
mischa
3f82e7cd11 Benchmark: visRange 999 + NT Reliable 2024-07-23 17:18:12 +02:00
mischa
ff66acf6e4
NetworkReader/Writer: all types of collections are now encoded via count-offsetting (null=0, []=1) for consistency and to prepare for VarUInt compression (this way we won't need zig zag VarInt) (#3869)
* better comments about count offsetting

* NetworkReader/Writer: all types of collections are now encoded via count-offsetting (null=0, []=1) for consistency and to prepare for VarUInt compression (this way we won't need zig zag VarInt)

---------

Co-authored-by: mischa <info@noobtuts.com>
2024-07-23 17:15:26 +02:00
MrGadget
9d9d294f5c fixed broken tests 2024-07-21 19:52:09 -04:00
MrGadget
93b4820c03 fix(Tanks): NT bufferResetMultiplier 5 -> 3 2024-07-21 15:05:00 -04:00
JesusLuvsYooh
d1a4b33370
chore(CI): Old code removed from NetworkTransformUnreliable (#3867)
* NetworkTransformUnreliable, removed old code.

* NetworkTransformUnreliable, removed old code.

Missed some, sneaky bugger.

* NetworkTransformUnreliable, tests updated (badly).

Needs looking over.
2024-07-21 18:51:27 +02:00
MrGadget
2bb1dc5792 fix(Tanks): Updated Tanks Example
- Send Rate 30
- NT Multiplier 3
2024-07-21 11:30:44 -04:00
Richard Possnett
8e6a157560
feat(SimpleWebTransport): Allow https URI scheme (#3850) 2024-07-21 10:36:34 -04:00
mischa
3073b87e63 Examples/Benchmark: always show NetworkStatistics 2024-07-21 10:13:19 +02:00
mischa
796a5dce6d Revert "Examples/Benchmark: always show bandwidth"
This reverts commit 8144275ec6.
2024-07-21 10:13:07 +02:00
mischa
8144275ec6 Examples/Benchmark: always show bandwidth 2024-07-21 10:11:17 +02:00
MrGadget
56d1575354 fix(MultiplexTransportTest): Can't use lambda discard parameters 2024-07-20 17:45:24 -04:00
MrGadget
bcd47d546e fix(FadeInOut): Now based on duration and framerate independent 2024-07-20 17:27:24 -04:00
MrGadget
bd75cf0345 TurretUIPrefab -> turretUIPrefab 2024-07-20 14:23:24 -04:00