Commit Graph

8673 Commits

Author SHA1 Message Date
MrGadget
64f5a67d3c fix(CharacterSelection Example): Separate SceneCamera script (#3888)
* CharSelection: Separate SceneCamera script

* SceneCamera: SetPositionAndRotation

* Code Cleanup
2024-09-21 16:32:53 -04:00
MrGadget
adc13e809e fix(Extensions): UNITY_2021_3_OR_NEWER 2024-09-21 16:32:53 -04:00
MrGadget
ca66ed749f fix(Extensions): Added SetPositionAndRotation (#3887) 2024-09-21 16:32:52 -04:00
JesusLuvsYooh
58c4a3f5cc Updated ReadMe for CharacterSelection example. (#3886)
Kudos to Gadget for seeing it.
2024-09-21 16:32:52 -04:00
MrGadget
a90224ae3d chore(CI): releaserc handle perf commits 2024-09-21 16:32:52 -04:00
MrGadget
58c1dfeda3 NetworkClient: Organize methods 2024-09-21 16:32:52 -04:00
MrGadget
845cfd3adb chore(CI): Suppress Hosting folder 2024-09-21 16:32:52 -04:00
mischa
0ace32ebdf 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-09-21 16:32:52 -04:00
MrGadget
f8680ecdcc 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-09-21 16:32:52 -04:00
MrGadget
7859b223d9 fix(NetworkClient): InvokeIdentityCallbacks call OnStartClient first (#3884)
- This is for host client to match logical call order as remote client
2024-09-21 16:32:52 -04:00
mischa
adcb83eb8a fix: NetworkServer.BroadcastToConnectio can now recover from null entries instead of slowing down perf with log messages forever [credits: BigBoxVR/CF] 2024-09-21 16:32:52 -04:00
MrGadget
26ea98469c chore(CI): RunUnityTests - updated unityVersions 2024-09-21 16:32:52 -04:00
MrGadget
ef88e88adc fix(TankAuthority): Player pos 1m up 2024-09-21 16:32:52 -04:00
mischa
2c7b0d15de perf: NetworkReader/Writer: read/write collection size headers as VarInt for significant bandwidth reduction! (#3868)
Co-authored-by: mischa <info@noobtuts.com>
2024-09-21 16:32:52 -04:00
MrGadget
8d2015bf89 chore: Example Controllers Code Cleanup 2024-09-21 16:32:52 -04:00
MrGadget
7ec0f07453 chore(CI): RunUnityTests - updated unityVersions 2024-09-21 16:32:52 -04:00
MrGadget
3e771ab471 fixed platform collider 2024-09-21 16:32:52 -04:00
MrGadget
6ca20ba239 release: Mirror 90.0.0 2024-09-21 16:32:52 -04:00
MrGadget
51a2056082 CI - Include Hosting folder 2024-09-21 16:32:52 -04:00
JesusLuvsYooh
c7786a5b56 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-09-21 16:32:52 -04:00
MrGadget
48e7bbfa91 TopDownShooterLighting 2024-09-21 16:32:52 -04:00
MrGadget
f7c255925c TopDownShooter 2019 Updates 2024-09-21 16:32:52 -04:00
MrGadget
136bf579e2 fix(TopDownShooter): simplify Flashlight code 2024-09-21 16:32:52 -04:00
mischa
38a05a0925 fix: TimeSnapshotMessage doesn't require authority anymore to avoid disconnecting connections where the unreliable message arrived before the reliable authority message 2024-09-21 16:32:52 -04:00
MrGadget
ae44268fb3 Examples - Lighting 2024-09-21 16:32:52 -04:00
MrGadget
297a9014f4 Examples - Lighting 2024-09-21 16:32:51 -04:00
MrGadget
a2566d0c4d Examples - Lighting 2024-09-21 16:32:51 -04:00
MrGadget
ff2f42cba1 fix(Example Prefabs): Reset for 2019 (#3880) 2024-09-21 16:32:51 -04:00
MrGadget
914beea1ed fix(PlayerTest Example): Compatible with 2019 (#3879)
* Terrain 2019

* Lighting

* Baked Lighting

* Lighting color

* Terrain Data
2024-09-21 16:32:51 -04:00
MrGadget
73ce5476b2 fix(Examples): Restored example scenes to 2019 compatibility (#3878) 2024-09-21 16:32:51 -04:00
MrGadget
361ae1f405 fix(Example Prefabs): Reset sendIntervalMultiplier to 1 2024-09-21 16:32:51 -04:00
mischa
75c2487299 Benchmarks: reset send interval multipliers back to 1, otherwise it'll give misleading results 2024-09-21 16:32:51 -04:00
mischa
5b772a32f3 NetworkTransformReliable: remove unused 'lastClientCount' 2024-09-21 16:32:51 -04:00
mischa
ca27f3d6c9 NetworkServer/Client Broadcast: consistent syntax 2024-09-21 16:32:51 -04:00
mischa
cfebe511fa NetworkClient/Server Broadcast: make this easier to read 2024-09-21 16:32:50 -04:00
MrGadget
de3bf5d375 fix(NetworkManager): offlineSceneLoadDelaySeconds -> offlineSceneLoadDelay and Range 0-60 2024-09-21 16:32:50 -04:00
mischa
e623c32a0c 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-09-21 16:32:50 -04:00
MrGadget
40b95572a2 chore(CI): RunUnityTests - updated unityVersions 2024-09-21 16:32:50 -04:00
mischa
f2c318af49 Revert "Edgegap Plugin: switch to Package Manager dependency (#3845)"
This reverts commit 890f4e6c0b.
2024-09-21 16:32:50 -04:00
mischa
b9e9caa844 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-09-21 16:32:50 -04:00
mischa
3caa2cff11 Revert "Benchmark: visRange 999 + NT Reliable"
This reverts commit 3f82e7cd11.
2024-09-21 16:32:50 -04:00
MrGadget
e7484bbd1f fix: Tank Prefabs and Controllers restore compressRotation 2024-09-21 16:32:50 -04:00
MrGadget
0614d2ca5b fix(TankTheftAuto): Removed old Canvas UI 2024-09-21 16:32:49 -04:00
mischa
579554b0b4 Benchmark: visRange 999 + NT Reliable 2024-09-21 16:32:49 -04:00
mischa
9bb17e67bc 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-09-21 16:32:49 -04:00
MrGadget
14f387f752 fixed broken tests 2024-09-21 16:32:49 -04:00
MrGadget
780445a237 fix(Tanks): NT bufferResetMultiplier 5 -> 3 2024-09-21 16:32:49 -04:00
JesusLuvsYooh
86ad8cb03d 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-09-21 16:32:49 -04:00
MrGadget
0bee9bbccb fix(Tanks): Updated Tanks Example
- Send Rate 30
- NT Multiplier 3
2024-09-21 16:32:49 -04:00
Richard Possnett
35c1055e24 feat(SimpleWebTransport): Allow https URI scheme (#3850) 2024-09-21 16:32:49 -04:00