Commit Graph

7780 Commits

Author SHA1 Message Date
MrGadget1024
df7c85eec6 disabled only send on change 2023-03-27 00:09:40 -04:00
MrGadget1024
298226ca1e Merged TestNT2-WebGL 2023-03-26 23:37:05 -04:00
MrGadget1024
9c3d9d24e8 Merged master 2023-03-26 23:36:31 -04:00
vis2k
527dda561a revert previous commit NetworkTime modifications. keep TimeAsDouble 2023-03-27 10:56:13 +08:00
MrGadget1024
cd69fcd564 KCP Demo 2023-03-26 02:53:20 -04:00
MrGadget1024
4bbc70dd63 Merged TestNT2-WebGL 2023-03-26 01:28:49 -04:00
MrGadget1024
3dc36544d9 Merged master 2023-03-26 01:28:18 -04:00
MrGadget
70e972aeb5
fix: Remove all usage of Time.timeAsDouble (#3436)
- Use NetworkTime.localTime everywhere for Unity 2019 LTS compatibility.
2023-03-26 04:32:44 +02:00
MrGadget1024
833eff783d bunch of changes 2023-03-25 14:01:00 -04:00
MrGadget
8a4cf9efd7
perf(SyncDictionary): Don't send value for OP_REMOVE (#3435) 2023-03-25 15:48:00 +01:00
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
50a8ce6e4f chore(CI): RunUnityTests - updated unityVersion 2023-03-24 17:08:50 -04: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
7333f88e1f fix(AdditiveLevels): Improved FadeInOut Timing 2023-03-21 15:39:23 -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
2aa6be9d89 chore(RunUnityTests): updated unityVersions 2023-03-18 00:32:04 -04: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