MrGadget1024
95c629c072
Merged master
2023-04-08 18:21:49 -04:00
vis2k
2cf3582922
comment formatting
2023-04-08 18:33:23 +08:00
vis2k
20b7e5326e
Weaver: update comments
2023-04-08 13:35:36 +08:00
Eunseop Shim
88170ed141
fix : #3447 make cached SyncVar fallback to original field value when there is no network context ( #3449 )
...
* Add Tests
* Fix tests relying on undefined behaviors
- GetSyncVarGameObjectOnClient()
The test relies on the behavior that GameObject SyncVar lookup will behave as client if both isServer and isClient is false.
The test is modified in a way that removes unnecessary object creation and uses a single object that is made sure it's context is client-side.
- TestSyncingAbstractNetworkBehaviour()
This test has been comparing null against null. The test is modified so it simulates each context better.
* Make cached SyncVar getters fallback on no network context
* Remove unnecessary assertions
Gone under my radar doing mindless copy & pasting
* Update Assets/Mirror/Core/NetworkBehaviour.cs
* Update Assets/Mirror/Core/NetworkBehaviour.cs
* Update Assets/Mirror/Core/NetworkBehaviour.cs
---------
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-04-08 06:00:09 +02:00
vis2k
c3b7fe66a1
kcp: forgot to remove a log message when sending unreliable messages
2023-04-07 10:40:49 +08:00
vis2k
49878963bc
resave
2023-04-06 12:01:44 +08:00
vis2k
b2bceecb2d
MIRROR_78_OR_NEWER
2023-04-06 11:58:28 +08:00
vis2k
d226d577c2
Telepathy implements PortTransport interface
2023-04-06 04:51:14 +02:00
vis2k
d62b80ec2d
SimpleWeb implements PortTransport interface
2023-04-06 04:51:14 +02:00
vis2k
9b102c0aa1
Kcp implements PortTransport interface
2023-04-06 04:51:14 +02:00
vis2k
0ff04c1cf0
feature: PortTransport interface
2023-04-06 04:51:14 +02:00
mischa
ee957f3fcd
fix: kcp2k V1.35. secure cookie to prevent UDP spoofing. fixes : #3286 ( #3445 )
...
* fix: kcp2k V1.35 [2023-04-05]
- fix: KcpClients now need to validate with a secure cookie in order to protect against
UDP spoofing. fixes:
https://github.com/MirrorNetworking/Mirror/issues/3286
[disclosed by IncludeSec]
- KcpClient/Server: change callbacks to protected so inheriting classes can use them too
- KcpClient/Server: change config visibility to protected
* credits
* credits
* link blog post
* 2019 compatibility
* Update Assets/Mirror/Transports/KCP/kcp2k/highlevel/KcpPeer.cs
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
* Update Assets/Mirror/Transports/KCP/kcp2k/highlevel/KcpPeer.cs
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
---------
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
2023-04-06 04:46:26 +02:00
vis2k
7889f3afaf
remove unused imports
2023-04-05 10:45:24 +08:00
MrGadget1024
35ec40ea60
fix(BasicExample): Revert unintended changes
2023-04-04 08:10:26 -04:00
MrGadget1024
77efeec3f2
chore(CI): RunUnityTests - updated unityVersion
2023-04-03 18:48:22 -04:00
MrGadget1024
ffdf13f6f8
Merged master
2023-04-03 13:19:36 -04:00
MrGadget
12ebd7f722
fix: NetworkTransformUnreliable: timeStampAdjustment, timelineOffset to fix 2s jitter after tab switching in webgl caused by NT snaps potentially arriving behind timeline snaps ( #3441 )
...
* NT-U: Implemented sendIntervalMultiplier, timeStampAdjustment, timelineOffset
* Update Assets/Mirror/Components/NetworkTransformUnreliable/NetworkTransform.cs
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
---------
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-04-03 18:39:01 +02:00
MrGadget1024
ae40fcbddd
fix(NetworkTransformReliable): Removed unused onlySyncOnChangeInterval
2023-04-03 12:31:17 -04:00
MrGadget1024
f7fe570c08
fix(SimpleWebTransport): Check hasDisposed in Connection.ToString
2023-04-03 10:20:51 -04:00
MrGadget1024
b8c62a1cd4
PlayerMove: Revised HandleTurning
2023-04-03 07:10:16 -04:00
MrGadget1024
96c7850cf5
Steeper ramps
2023-04-02 11:42:35 -04:00
MrGadget1024
97c38a79d5
Merged master
2023-04-02 07:18:19 -04:00
vis2k
1c8ea40a99
NetworkBehaviour.SendRpcInternal: simplify safety check and minimize indentation
2023-04-01 19:41:18 +08:00
vis2k
0268e1b9fe
perf: remove unused NetworkPongMessage.serverTime to save 8 bytes for every pong
2023-04-01 19:35:44 +08:00
vis2k
615bd1125e
syntax
2023-04-01 19:30:19 +08:00
vis2k
d4a5bd71d0
Mathd: Clamp01 reuses Clamp
2023-04-01 11:45:15 +08:00
vis2k
db923a486e
ExponentialMovingAverage: alpha changed from float to double for better precision
2023-04-01 11:43:49 +08:00
vis2k
5fe306fdc1
AccurateInterval: syntax
2023-04-01 11:40:29 +08:00
vis2k
a637b831d7
remove unused using
2023-04-01 11:24:21 +08:00
vis2k
2ea568f404
Batcher: readonly .batches
2023-04-01 11:17:37 +08:00
vis2k
105852bf68
Unity 2021.3.21 LTS for latest fixes
2023-03-30 14:33:06 +08:00
MrGadget1024
31fa8a4b3c
fix(SimpleWebTransport): Default sslProtocols to Tls12
2023-03-29 11:50:25 -04:00
MrGadget
40361f62bf
fix(NetworkServer): Don't disconnect on OnEntityStateMessage for object without authority ( #3439 )
2023-03-29 17:37:08 +02:00
MrGadget1024
b377d765ec
fix(Chat Example): moved playerNames HashSet to ChatAuthenticator
2023-03-28 13:13:17 -04:00
MrGadget1024
48b2ee638f
chore(SimpleWebTransport): formatting
2023-03-28 08:17:19 -04:00
MrGadget1024
8ce21b40b8
chore(SimpleWebTransport): formatting and syntax
2023-03-28 02:26:17 -04:00
MrGadget1024
22d4fb62bb
fix(SimpleWebTransport): Improved tooltips
2023-03-28 01:18:44 -04:00
MrGadget1024
484820e293
feat(SimpleWebTransport): Implemented ClientConnect(Uri uri)
2023-03-28 00:58:32 -04:00
MrGadget
238233da3f
fix(NetworkTransformeliable): fix offset and sendIntervalMultiplier ( #3438 )
...
* fix(NetworkTransformeliable): fix offset and sendIntervalMultiplier
* Removed unused using
* latest fixes and comments
* moved comments
* Update NetworkTransformReliable.cs
---------
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-03-28 05:06:52 +02:00
mischa
ae50522895
fix; NetworkTransformUnreliable now broadcasts in LateUpdate as well ( #3410 ) ( #3421 )
2023-03-28 04:59:26 +02: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
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
MrGadget
8a4cf9efd7
perf(SyncDictionary): Don't send value for OP_REMOVE ( #3435 )
2023-03-25 15:48:00 +01: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