Commit Graph

8687 Commits

Author SHA1 Message Date
mischa
e7ad351a98 update comment 2024-09-21 16:32:54 -04:00
MrGadget
da60920caa chore(CI): RunUnityTests - updated unityVersion 2024-09-21 16:32:54 -04:00
mischa
f33ed68a1b breaking: NetworkTransform sendIntervalMultiplier replaced by syncInterval math (#3895)
* repro

* force sendIntervalMultiplier based on syncInterval!

* Revert "repro"

This reverts commit e51c996fa6.

* cleanup

* fix

* hide

* property

* rmv

---------

Co-authored-by: mischa <info@noobtuts.com>
2024-09-21 16:32:54 -04:00
DANILIAMMO
2cdf811671 style(ConnectionQuality): Fix indention (#3896) 2024-09-21 16:32:54 -04:00
mischa
55dc04e31c resave scripting define symbols 2024-09-21 16:32:54 -04:00
mischa
715789b1f3 Edgegap Plugin: update to latest version to remove more MIRROR CHANGEs; also supports moving the folder better (#3891)
* Edgegap Plugin: non-breaking updates first

* Edgegap Plugin: update to latest version to remove more MIRROR CHANGEs; also supports moving the folder better

* 2021+

---------

Co-authored-by: mischa <info@noobtuts.com>
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2024-09-21 16:32:53 -04:00
MrGadget
6fe9737ec0 chore(CI): RunUnityTests - updated unityVersion 2024-09-21 16:32:53 -04:00
MrGadget
d99830127f feat(Examples): PlayerControllerBase with Reliable / Unreliable Derived Classes (#3889)
* Base Controllers and Reliable / Unreliable versions

* Check Application.isFocused

* Replaced PlayerController

* TankTheftAuto - Use one of each Tank Prefab
- Added Label for Reliable / Unreliable

* TankControllerBase: Require TankHealth

* TankHealth: Ensure finding correct TextMesh
2024-09-21 16:32:53 -04:00
mischa
242db32d1a Update README.md 2024-09-21 16:32:53 -04:00
mischa
99640b39b7 Update README.md 2024-09-21 16:32:53 -04:00
MrGadget
da664b3d93 chore(CI): RunUnityTests - updated unityVersion 2024-09-21 16:32:53 -04:00
MrGadget
18f38f23ee CharacterSelection: Removed PlayerControllerScript
- No longer used
2024-09-21 16:32:53 -04:00
MrGadget
2c8c61a3d9 CharactrerSelection: Use Common PlayerController 2024-09-21 16:32:53 -04:00
MrGadget
015596e810 PlayerController: Don't require PlayerCamera 2024-09-21 16:32:53 -04:00
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