Commit Graph

7781 Commits

Author SHA1 Message Date
mischa
6e372b51fb Tests: Transports namespace for grouping in test runner 2023-04-21 12:16:51 +08:00
mischa
5b08993e62 Tests: Tools namespace for grouping in test runner 2023-04-21 12:16:23 +08:00
mischa
b9e4484215 Tests: NetworkLoop subfolder 2023-04-21 12:05:49 +08:00
mischa
387cd2e0e6 Tests: NetworkTransform subfolder 2023-04-21 12:05:26 +08:00
mischa
5d211ea830 Tests: SnapshotInterpolation subfolder 2023-04-21 12:05:10 +08:00
mischa
d2e60283b3 Tests: StructMessagesTests moved to NetworkMessages subfolder 2023-04-21 12:04:40 +08:00
mischa
d694163a14 Tests: FieldsInBaseClasses moved to NetworkReaderWriter folder 2023-04-21 12:04:04 +08:00
mischa
8696a4f9cd Tests: OverloadMethodTest moved to NetworkMessages subfolder 2023-04-21 12:03:09 +08:00
mischa
24069ab8a2 Tests: add comment 2023-04-21 11:27:26 +08:00
mischa
5b0c9b8425 syntax 2023-04-21 11:26:15 +08:00
mischa
b50a762e1a Tests: CustomRWTest renamed 2023-04-21 11:25:11 +08:00
mischa
1b906a97fa Tests: CustomRWTest renamed 2023-04-21 11:24:28 +08:00
mischa
e60df7c0dc Tests: add comment 2023-04-21 11:21:28 +08:00
mischa
dedcab4402 Tests: CollectionWriterTests moved to NetworkReaderWriter folder 2023-04-21 11:10:24 +08:00
mischa
c3193ab42b syntax 2023-04-21 11:08:04 +08:00
mischa
1601960b53 Tests: AttributeTests subfolder; split up in multiple files; add comments 2023-04-21 11:06:37 +08:00
mischa
d50594db4e Tests: moved file 2023-04-20 22:11:59 +08:00
mischa
ea9f258ceb Tests: moved file 2023-04-20 22:10:32 +08:00
mischa
c6dd55bd69 Tests: NetworkMessages subfolder 2023-04-20 22:10:10 +08:00
mischa
8b3c298a4a Tests: NetworkManager subfolder 2023-04-20 22:09:39 +08:00
mischa
fefdc63341 Tests: NetworkConnection subfolder 2023-04-20 22:08:51 +08:00
mischa
626978c954 Tests: NetworkServer moved to subfolder 2023-04-20 22:08:22 +08:00
mischa
5519c76dab Tests: NetworkIdentity subfolder 2023-04-20 22:06:55 +08:00
mischa
afd0f42673 Tests: NetworkClient subfolder 2023-04-20 22:06:25 +08:00
mischa
3580ae7416 Tests: NetworkBehaviour subfolder 2023-04-20 22:05:45 +08:00
mischa
a7105220c6 Tests: ReaderWriter folder renamed 2023-04-20 22:05:08 +08:00
mischa
c6aa694f34 Tests: CompressionTests moved to subfolder 2023-04-20 22:01:49 +08:00
mischa
a97e71ee3f Tests: ReaderWriter subfolder 2023-04-20 21:57:00 +08:00
mischa
a9210b4fb2 Tests: merged RemoteTestBase into FieldsInBaseClasses (only place where it was used) 2023-04-20 21:54:49 +08:00
mischa
937177941b Tests cleanup: Transports subfolder 2023-04-20 21:53:24 +08:00
mischa
06c096242c Tests cleanup: Grid2D tests moved to Interest Management subfolder 2023-04-20 21:51:35 +08:00
mischa
15b1a7610c Tests cleanup: Interest Management tests moved to subfolder 2023-04-20 21:51:07 +08:00
mischa
1b68f4fef7 Tests cleanup: SyncVar tests moved into SyncVars/ folder 2023-04-20 21:49:26 +08:00
mischa
93ca265083 Tests cleanup: Tools tests moved into Tools/ folder 2023-04-20 21:47:38 +08:00
mischa
8fade6e27e Tests cleanup: SyncList/Set/etc. tests moved into SyncCollections/ 2023-04-20 21:45:25 +08:00
mischa
9ffe306ae1 Tests cleanup: Rpc tests moved into Rpcs/ folder 2023-04-20 21:43:12 +08:00
mischa
4e5d0b41b1 Tests: renamed ClientSceneTests to NetworkClientTests. ClientScene was merged with NetworkClient a long time ago. 2023-04-20 21:39:43 +08:00
MrGadget1024
38fea9da96 chore(CI): RunUnityTests - updated unityVersion 2023-04-19 12:31:25 -04:00
JesusLuvsYooh
bafc1277c7
Updated ApplySnapshot ScriptTemplates (#3472) 2023-04-15 18:13:36 +02:00
mischa
619d1cc627 Benchmark example: random movement jumps to exact destination when finishing.
for completeness.
2023-04-14 14:59:20 +08:00
MrGadget1024
863ef03257 chore(CI): RunUnityTests - updated unityVersion 2023-04-11 10:15:01 -04:00
MrGadget1024
1fda794f95 fix(Examples): Updated to latest NT changes. 2023-04-11 01:37:14 -04:00
MrGadget1024
83a0593c98 fix(Examples): Updated to latest NT changes. 2023-04-11 01:14:23 -04:00
MrGadget
f23d044519
Moved sendIntervalMultiplier, timelineOffset, timeStampAdjustment, offset to NTBase (#3442)
* Moved sendIntervalMultiplier, timelineOffset, timeStampAdjustment, offset to NetworkTransformBase

* Update Assets/Mirror/Components/NetworkTransformBase.cs

* 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>

* Resolved conflict

* Resolved conflict

* NT: send interval multiplier moved to Base

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-04-11 06:23:02 +02:00
mischa
4eeb703488
fix: #3455 TargetRpc(NetworkConnectionToClient) weaver generated InvokeTargetRpc now passes 'null' as connection parameter on clients. (#3465)
Logically, clients can never fill in a NetworkConnectionToClient parameter.
fixes compilation failing for TargetRpc(NetworkConnectionToClient) with IL2CPP builds.
2023-04-11 05:45:43 +02:00
vis2k
e3bd35a091 Tests: FakeNetworkConnection renamed to FakeNetworkConnectionToClient to make usage more obvious 2023-04-11 11:03:23 +08:00
mischa
215ab8896b
Update README.md (#3463) 2023-04-11 04:37:05 +02:00
mischa
5a86847f4b
Update README.md (#3462) 2023-04-11 04:35:51 +02:00
Eunseop Shim
3420c88692
fix: #3457 Make NumSyncVars take parent class syncvars into account (#3458)
* Add tests

* Include parent class when counting syncvars

* SyncObject is unneeded

I was also testing SyncObjects and it turned out they were unaffected of this issue. I removed SyncObject from my tests but forgot to do so here.

* Remove host SyncVar hook guard test

* Update Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeProcessor.cs

* Update SyncVarAttributeProcessor.cs

* Update Assets/Mirror/Tests/Editor/SyncVarAttributeTest.cs

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-04-11 04:32:31 +02:00
Meno000
e9597b70ac
KcpTransport: reconvert mapped ipv4->ipv6 addresses to ipv4 in ServerGetClientAddress (#3460)
* Update KcpTransport.cs

"::ffff:127.0.0.1" -> "127.0.0.1"

* Update Assets/Mirror/Transports/KCP/KcpTransport.cs

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-04-11 04:18:00 +02:00