Commit Graph

5639 Commits

Author SHA1 Message Date
MrGadget1024
0e60d65034 updated bot prefab 2023-03-25 10:44:08 -04:00
MrGadget1024
532cb5ad78 removed profiler 2023-03-25 10:36:08 -04:00
MrGadget1024
9efd423ef0 Fixed prefabs 2023-03-25 10:35:34 -04:00
MrGadget1024
186190e2f8 Merged TestNT2-WebGL 2023-03-25 10:21:49 -04:00
MrGadget1024
a74d1ec5ef Merged master 2023-03-25 10:04:10 -04:00
MrGadget
41ae4833b8
feat(NetworkTransformReliable): Added SendIntervalMultiplier to optionally reduce bandwidth (#3424)
* NetworkTransformReliable - formatting for consistancy / legibility

* feat(NetworkTransformReliable): Added SendIntervalMultiplier

* fixed conflict

* formatting

* formatting

* formatting

* formatting

* formatting

* indention

* syntax

* syntax

* formatting

* syntax

* syntax

* Restored formatting changes

* one more formatting revert

* Update NetworkTransformReliable.cs

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-03-25 12:51:09 +01:00
MrGadget1024
d712debb2c Merged master 2023-03-22 11:05:52 -04:00
MrGadget1024
377f65a919 fix(FadeInOut): Added OnValidate 2023-03-22 11:05:29 -04:00
MrGadget1024
b8f9721744 Merged master 2023-03-22 10:24:22 -04:00
MrGadget
26bb7e4e09
perf(InterestManagement): Don't Rebuild Observers In OnDestroy (#3430)
* perf(SceneInterestManagement): Only RebuildSceneObservers in Update
Don't RebuildSceneObservers in OnDestroy...that will happen in Update.
Multiple objects could be destroyed in same frame and we don't
want to rebuild for each one...let Update do it once.

* perf(MatchInterestManagement): Only RebuildMatchObservers in Update
Don't RebuildMatchObservers in OnDestroy...that will happen in Update.
Multiple objects could be destroyed in same frame and we don't
want to rebuild for each one...let Update do it once.

* perf(TeamInterestManagement): Only RebuildMatchObservers in Update
Don't TeamInterestManagement in OnDestroy...that will happen in Update.
Multiple objects could be destroyed in same frame and we don't
want to rebuild for each one...let Update do it once.

* SceneInterestManagement: Add curentScene to dirtyScenes in OnDestroy

* MatchInterestManagement - add match to dirtyMatches

* TeamInterestManagement - add team to dirtyTeams
2023-03-22 15:11:31 +01:00
MrGadget1024
cc5b9eaa6f Merged master 2023-03-22 09:34:39 -04:00
MrGadget1024
2d9a2c93a4 FadeInOut - added comment 2023-03-22 09:12:53 -04:00
MrGadget1024
1aedd8d7c0 fix(AdditiveLevels): FadeInOut more user friendly 2023-03-22 09:10:49 -04:00
MrGadget1024
e29325d450 removd logging 2023-03-21 14:57:04 -04:00
MrGadget1024
fef184704f FadeInOut: Added GetDuration 2023-03-21 14:50:27 -04:00
MrGadget1024
6e2227dcbf fix(Additive Levels): Improve FadeInOut timing 2023-03-21 13:24:34 -04:00
MrGadget1024
5c7de2b6e0 fix(Discovery Template): wrapped OnValidate with #if UNITY_EDITOR 2023-03-21 06:55:32 -04:00
MrGadget1024
f0d288be1b Updated Discovery Template
- Added OnValidate and Start overrides
- Improved comments
2023-03-21 06:10:05 -04:00
MrGadget1024
343cfc1bad Updated Discovery Example 2023-03-21 06:10:05 -04:00
MrGadget1024
199ee490e5 fix(Discovery): Updated Network Discovery
- Moved transport and OnServerFound to base class
- Consolidated Start in base class
- Virtual OnValidate in base class
- Better public field order
- Added missing tooltip
2023-03-21 06:10:05 -04:00
JesusLuvsYooh
069e417edc
Fix(InterestManagementBase): Disable feature fully, if component unticked. (#3406)
* Draft Awake->OnEnabled

Fix: InterestManagement still partially working when using Awake, OnEnabled fixes it.

* Updated commeents

* Dont ask.
2023-03-21 02:54:45 +01:00
vis2k
3f02534978 perf: NetworkBehaviour.syncInterval default set to 0 to send every NetworkServer.sendInterval. fixes #3292 2023-03-20 17:09:44 +08:00
MrGadget1024
42587875df PlayerBuffers: Removed localTimescaleText 2023-03-20 03:18:21 -04:00
MrGadget1024
32015cd9c5 Merged master 2023-03-20 03:07:07 -04:00
MrGadget1024
ed51c3bff6 Bot and Offline scene changes 2023-03-20 03:01:30 -04:00
mischa
30d7b5b3a8
fix: #3427 NetworKTransformReliable now has a timelineOffset to account for decoupled arrival of NetworkTime and NetworkTransform snapshots (#3428)
* fix: #3427 NetworKTransformReliable now has a timelineOffset to account for decoupled arrival of NetworkTime and NetworkTransform snapshots

* bool
2023-03-20 03:36:21 +01:00
vis2k
1a34614e4c KcpClient/Server: change config visibility to protected 2023-03-19 11:31:39 +08:00
vis2k
dd50a43b9b KcpClient/Server: change callbacks to protected so inheriting classes can use them too 2023-03-19 11:27:56 +08:00
vis2k
660b57ecb7 KcpPeer: fix log message. 2023-03-19 11:19:29 +08:00
MrGadget1024
23787640ba Merged master 2023-03-18 11:30:13 -04:00
MrGadget1024
638b3536a5 fix(NetworkAuthenticatorTemplate): Added missing overrides 2023-03-18 11:04:56 -04:00
MrGadget
4ce8b2a431
fix: Reader / Writer extensions for Unity structs with properties (#3426)
* fix: Reader / Writer extensions for Unity structs with properties

* removed blank lines
2023-03-18 09:10:53 +01:00
MrGadget1024
b8e7aa0567 Added DriftEMA, DeliveryTimeEMA, and RTT to NetworkClient OnGUI 2023-03-18 16:05:28 +08:00
vis2k
7d93d0156e perf: snapshot interpolation default catchup speed increased to 2%, and slowdown speed increased to 4% to avoid jitter 2023-03-18 16:04:22 +08:00
MrGadget1024
7b5c7c9fda re-applied changes from fix_nt_timelineoffset 2023-03-18 00:02:32 -04:00
MrGadget1024
89052fe09f Revert "reverted prefabs"
This reverts commit 1461c91106.
2023-03-17 23:52:57 -04:00
MrGadget1024
1461c91106 reverted prefabs 2023-03-17 23:47:39 -04:00
MrGadget1024
a0948939dc Revert "fix: #3427 NetworKTransformReliable now has a timelineOffset to account for decoupled arrival of NetworkTime and NetworkTransform snapshots"
This reverts commit 27eaf67a5a.
2023-03-17 23:45:35 -04:00
MrGadget1024
be316afd88 Updated prefabs 2023-03-17 23:17:12 -04:00
MrGadget1024
9e93122142 Merged fix_nt_timelineoffset 2023-03-17 23:08:39 -04:00
vis2k
27eaf67a5a fix: #3427 NetworKTransformReliable now has a timelineOffset to account for decoupled arrival of NetworkTime and NetworkTransform snapshots 2023-03-18 10:50:38 +08:00
MrGadget1024
3cbe3e3615 Removed Network Ping Display 2023-03-17 09:59:28 -04:00
MrGadget1024
49aae80fd6 Merged NetManGUI 2023-03-17 08:09:43 -04:00
MrGadget1024
e5c13d06c6 Merged master 2023-03-17 08:09:08 -04:00
MrGadget1024
1cbc3f78a3 Added DriftEMA, DeliveryTimeEMA, and RTT to NetworkClient OnGUI 2023-03-17 08:08:17 -04:00
MrGadget1024
6a2e6650a2 disabled localTimescale 2023-03-17 07:52:58 -04:00
MrGadget1024
218f36ff3c Added LT to PlayerBuffer UI 2023-03-17 07:10:19 -04:00
MrGadget1024
ef86df8454 NetworkReaderExtensions - syntax 2023-03-16 15:26:11 -04:00
MrGadget
ff5115e04a
fix(NetworkManager): Call OnServerDisconnect for Host Client (#3419) 2023-03-16 13:27:49 +01:00
vis2k
a9b216d2e6 snapshot interpolation demo: vsync reminder. it's too easy to forget. 2023-03-16 19:23:53 +08:00