Commit Graph

7716 Commits

Author SHA1 Message Date
vis2k
0d471af61c script icon 2023-03-08 10:31:40 +08:00
MrGadget1024
0cd06db1f2 NetworkTransform - formatting 2023-03-06 14:36:00 -05:00
MrGadget1024
2e94e358b6 chore(CI): RunUnityTests - updated unityVersion 2023-03-06 12:20:48 -05:00
MrGadget1024
4b34dc2fe8 breaking(NetworkManager): Removed obsolete OnServerError / OnClientError
BREAKING CHANGE: Removed obsolete OnServerError / OnClientError
2023-03-06 11:52:41 -05:00
MrGadget1024
788fd4df91 Revert "breaking(NetworkManager)!: Removed obsolete OnServerError / OnClientError"
This reverts commit 3f7c1af819.
2023-03-06 11:50:37 -05:00
MrGadget1024
3f7c1af819 breaking(NetworkManager)!: Removed obsolete OnServerError / OnClientError 2023-03-06 09:16:49 -05:00
MrGadget1024
a74f8f9ea2 Revert "breaking!(NetworkManager): Removed obsolete OnServerError / OnClientError"
This reverts commit d45bd661ef.
2023-03-06 09:13:48 -05:00
MrGadget1024
d45bd661ef breaking!(NetworkManager): Removed obsolete OnServerError / OnClientError 2023-03-06 08:49:37 -05:00
MrGadget1024
60b3547165 Merged master 2023-03-06 08:43:25 -05:00
MrGadget1024
9f50722906 TestNTNetworkManager - clientUseWss switches 2023-03-06 08:42:46 -05:00
MrGadget1024
b76a9e2634 Updated CameraMove 2023-03-06 08:41:47 -05:00
vis2k
a0605ae651 kcp V1.31 [2023-03-05]
- KcpClient: Tick/Incoming/Outgoing can now be overwritten (virtual)
- breaking: KcpClient now takes KcpConfig in constructor instead of in Connect.
  cleaner, and prepares for KcpConfig.MTU setting.
- KcpConfig now includes MTU; KcpPeer now works with KcpConfig's MTU, KcpServer/Client
  buffers are now created with config's MTU.
2023-03-05 14:10:17 +08:00
vis2k
31b6f195ce KcpTransport: config, server, client protected so inheriting classes can access them 2023-03-04 22:26:24 +08:00
vis2k
582a02eec8 KcpTransport: OnGUIStatistics helper function for easier OnGUI overwrites 2023-03-04 22:23:10 +08:00
vis2k
7b1d6fd412 KcpTransport: virtual Awake/OnValidate/OnGUI to allow inheritance more easily 2023-03-04 22:20:54 +08:00
vis2k
def24f8510 fix: NetworkLoop now only runs in play mode, not in edit mode 2023-03-04 19:33:19 +08:00
vis2k
8f66bd68ca fix: #3392 NetworkLoop now checks if the function was already added before. fixes functions being added twice with Domain Reload disabled. 2023-03-04 19:29:39 +08:00
MrGadget
91014bd614
breaking: Remove NetworkClient.serverIP (#3394)
* breaking: Remove NetworkClient.serverIP
- If we're never going to set it to anything, no reason to have it.
- Transport has no mechanism to return anything for it

Host client hardcodes `address` to "localhost" in both LocalConnectionToServer and LocalConnetionToClient, so obsolete the former telling users to use the latter if they aren't already.

Users can get the endpoint from NetworkManager or Discovery, as they must be doing now since those work and serverIp does not.

* Update main.yml

* fix: kcp2p V1.30 (#3391)

- fix: set send/recv buffer sizes directly instead of iterating to find the limit.
  fixes: https://github.com/MirrorNetworking/Mirror/issues/3390
- fix: server & client sockets are now always non-blocking to ensure main thread never
  blocks on socket.recv/send. Send() now also handles WouldBlock.
- fix: socket.Receive/From directly with non-blocking sockets and handle WouldBlock,
  instead of socket.Poll. faster, more obvious, and fixes Poll() looping forever while
  socket is in error state. fixes: https://github.com/MirrorNetworking/Mirror/issues/2733

* Shortened PingWindowSize to get a faster more accurate result. (#3395)

* Shortened PingWindowSize to get a faster more accurate result.

Shortened PingWindowSize to get a faster more accurate result.
It taking too long to calculate the average may look bad to users

* Revert "Shortened PingWindowSize to get a faster more accurate result."

This reverts commit 0a5916b4dc.

* Revert "Shortened PingWindowSize to get a faster more accurate result."

This reverts commit 0a5916b4dc.

* Shortened PingWindowSize to get a faster more accurate result.

Shortened PingWindowSize to get a faster more accurate result.
It taking too long to calculate the average may look bad to users

* Shortened PingWindowSize to get a faster more accurate result.

Shortened PingWindowSize to get a faster more accurate result.
It taking too long to calculate the average may look bad to users, choosing 6 gives us an average of 3 results, where as the previous 10, would wait for 5, it should be a slight visual improvement.

* fix: Use PingWindowSize instead of hardcoded value (#3396)

fix: Use PingWindowSize instead of hardcoded value

* KcpClient: Tick/Incoming/Outgoing can now be overwritten (virtual)

* RunUnityTests - Updated unityVersion

* fix: Write for non-spawned NB only writes 0 netId (fixes: #3399) (#3400)

* Failing test for non-spawned NB writer/reader

* fix: Write for non-spawned NB only writes 0 netId

Instead of writing 0 and component index which does not match what the reader expects (it will stop reading netId is 0)
Fixes #3399

* breaking: Removed old Unity 2018 / 2019_3 compiler defines (#3397)

- we only suppport Unity 2019.4.40 and later LTS releases.
BREAKING: Removed old 2018 / 2019 compiler defines

* RunUnityTests - try different test reporter

* RunUnityTests commented out Archive and Publish temporarily

* RunUnityTests - disable game-ci built-in test reporter

* RunUnityTests - cleanup

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
Co-authored-by: JesusLuvsYooh <57072365+JesusLuvsYooh@users.noreply.github.com>
Co-authored-by: vis2k <info@noobtuts.com>
Co-authored-by: Robin Rolf <imer@imer.cc>
2023-03-04 06:39:30 +01:00
MrGadget1024
e6029c6e41 Merged master 2023-03-02 22:09:24 -05:00
MrGadget1024
30ff64c75a CameraMove - Addeed PhysicsRaycaster 2023-03-02 22:08:56 -05:00
mischa
811dfd09cc
Update README.md 2023-03-03 02:54:27 +01:00
mischa
402fd1e787
Update README.md 2023-03-03 02:50:36 +01:00
MrGadget1024
a2876e9735 RunUnityTests - cleanup 2023-03-01 19:17:02 -05:00
MrGadget1024
d0cfd19a40 RunUnityTests - disable game-ci built-in test reporter 2023-03-01 18:08:54 -05:00
MrGadget1024
3b1d2ee23d RunUnityTests commented out Archive and Publish temporarily 2023-03-01 18:03:04 -05:00
MrGadget1024
9d46590db1 RunUnityTests - try different test reporter 2023-03-01 17:48:26 -05:00
MrGadget1024
c8743b287a main.yml - only run Release on push 2023-03-01 15:34:22 -05:00
MrGadget1024
773f49c50f main.yml - trying again to prevent Release for PR's 2023-03-01 10:07:03 -05:00
MrGadget1024
7c4be1fa57 main.yml - prevent Symantic job for PR's 2023-03-01 09:23:34 -05:00
MrGadget
bb2e7b2308
breaking: Removed old Unity 2018 / 2019_3 compiler defines (#3397)
- we only suppport Unity 2019.4.40 and later LTS releases.
BREAKING: Removed old 2018 / 2019 compiler defines
2023-02-28 16:11:40 +01:00
Robin Rolf
74f5339b09
fix: Write for non-spawned NB only writes 0 netId (fixes: #3399) (#3400)
* Failing test for non-spawned NB writer/reader

* fix: Write for non-spawned NB only writes 0 netId

Instead of writing 0 and component index which does not match what the reader expects (it will stop reading netId is 0)
Fixes #3399
2023-02-28 16:10:49 +01:00
MrGadget1024
17f75b77ca RunUnityTests - Updated unityVersion 2023-02-27 23:01:42 -05:00
vis2k
eaea01caa6 KcpClient: Tick/Incoming/Outgoing can now be overwritten (virtual) 2023-02-26 14:29:15 +08:00
MrGadget1024
a5270e9cec Dummy model and animations 2023-02-25 23:37:58 -05:00
MrGadget1024
bf4bc6cc68 Offline Scene - use PlayerDummy 2023-02-25 21:31:07 -05:00
MrGadget1024
df8b280a6d PlayerDummy - Animation 2023-02-25 21:30:53 -05:00
MrGadget1024
214dc43750 PlayerMove - Animation 2023-02-25 21:30:23 -05:00
MrGadget1024
b0b039f468 NTRCustomSendInterval - formatting 2023-02-25 21:30:02 -05:00
MrGadget1024
40d8e0268d SnapshotInterpolation - syntax 2023-02-25 21:27:06 -05:00
MrGadget1024
b4257d7484 NTRCustomSendInterval Mirror icon 2023-02-25 10:49:57 -05:00
JesusLuvsYooh
3252dec547
fix: Use PingWindowSize instead of hardcoded value (#3396)
fix: Use PingWindowSize instead of hardcoded value
2023-02-25 09:56:29 -05:00
MrGadget1024
a04f388c82 PlayerDummy WIP 2023-02-25 09:22:23 -05:00
MrGadget1024
431a396df8 NTReliableExt updated 2023-02-25 09:22:11 -05:00
MrGadget1024
d15f9d4579 Offline scene 2023-02-25 09:21:51 -05:00
MrGadget1024
d7896c2ec1 NetworkTime changes 2023-02-25 09:21:19 -05:00
JesusLuvsYooh
4603bb1a4d
Shortened PingWindowSize to get a faster more accurate result. (#3395)
* Shortened PingWindowSize to get a faster more accurate result.

Shortened PingWindowSize to get a faster more accurate result.
It taking too long to calculate the average may look bad to users

* Revert "Shortened PingWindowSize to get a faster more accurate result."

This reverts commit 0a5916b4dc.

* Revert "Shortened PingWindowSize to get a faster more accurate result."

This reverts commit 0a5916b4dc.

* Shortened PingWindowSize to get a faster more accurate result.

Shortened PingWindowSize to get a faster more accurate result.
It taking too long to calculate the average may look bad to users

* Shortened PingWindowSize to get a faster more accurate result.

Shortened PingWindowSize to get a faster more accurate result.
It taking too long to calculate the average may look bad to users, choosing 6 gives us an average of 3 results, where as the previous 10, would wait for 5, it should be a slight visual improvement.
2023-02-25 11:11:56 +01:00
MrGadget1024
4c329fc7ef clientMaxMessagesPerTick: 2000 2023-02-24 23:35:52 -05:00
MrGadget1024
0f08a2f45f Teleport by X 2023-02-24 22:53:10 -05:00
MrGadget1024
6aabc65d1d Offline scene updated 2023-02-24 22:52:34 -05:00
MrGadget1024
c352c354ec bufferTimeMultiplierForClamping cmd line arg 2023-02-24 22:52:18 -05:00