mischa
fea626943a
insert in structure
2023-07-24 20:30:05 +08:00
mischa
0ce9833fa5
oops
2023-07-24 20:28:14 +08:00
mischa
ec7ccea685
Reset
2023-07-24 20:26:58 +08:00
mischa
e344091c33
HistoryBounds data structure - wip
2023-07-24 20:24:46 +08:00
mischa
6395b9e637
syntax
2023-07-24 20:04:58 +08:00
mischa
7cb6170a50
tests: revisit coverage
2023-07-24 19:34:05 +08:00
mischa
0c194e0e46
deterministic benchmark
2023-07-24 18:57:05 +08:00
mischa
54883e5787
benchmark improvements
2023-07-24 18:23:39 +08:00
mischa
471dfbaf95
move into lag comp
2023-07-24 18:20:53 +08:00
mischa
5cc9d2fb8f
simple benchmark
2023-07-24 18:18:57 +08:00
mischa
3a845b0d90
easier
2023-07-24 18:00:31 +08:00
mischa
e75df9dfb3
Insert: naive implementation
2023-07-24 17:57:36 +08:00
mischa
639d80b59a
HistoryBounds.Insert placeholder and test
2023-07-24 17:43:59 +08:00
mischa
8b2780d79f
readme, folders
2023-07-24 12:23:21 +08:00
mischa
9311ef3523
fix: NetworkConnection "cannot send packet larger than ..." message now includes the message type which was too large. ( #3560 )
2023-07-24 06:08:55 +02:00
mischa
871a08c266
resaved test prefabs
2023-07-22 21:59:29 +08:00
mischa
6830a6e52c
fix: NetworkMessages.MaxContentSize now considers channelId instead of always assuming reliable
2023-07-22 21:59:07 +08:00
mischa
d437dacac0
Update README.md ( #3559 )
2023-07-21 13:05:37 +02:00
mischa
135d87724a
Update README.md ( #3558 )
2023-07-21 13:04:57 +02:00
mischa
71f64c70f1
feature: bring back NetworkServer.disconnectInactiveConnections ( #3556 )
2023-07-21 06:11:14 +02:00
mischa
adee4ad140
fix: remove redundant RPC buffering. saved bandwidth, but introduced data races, complexity, extra buffer copies [credit: James, imer] ( #3497 )
2023-07-20 09:10:00 +02:00
mischa
d7fbee9d50
fix: NetworkIdentity.AssignAssetId() is now saved properly. fixes a bug where duplicated prefabs and prefab variants would still have the original prefab's assetId on disk, even though the Inspector showed the proper one.
2023-07-20 14:29:40 +08:00
mischa
ac6a881f1b
fix: NetworkTime RTT now checks for malicious timestamps from the future
2023-07-19 19:24:05 +08:00
mischa
e45bfb47ab
Compression: remove unnecessary QuaternionElement function
2023-07-19 13:15:40 +08:00
mischa
7e28e4ea02
Compression: more obvious TenBitsMax representation
2023-07-19 12:59:51 +08:00
mischa
483006eadc
feature: NetworkConnectionToClient.rtt via Ping & Pong Messages ( #3545 )
...
* NetworkConnectionToClient: send Ping message every PingFrequency
* breaking: NetworkPing/PongMessage .clientTime renamed to .localTime because it'll be used in both directions
* Server->Client->Server Ping/Pong messages and rtt
* don't ping in host mode
* adjust tests
* TODO
2023-07-18 11:19:12 +02:00
mischa
398d2e6d2c
Examples: default send rate increased from 30 Hz to 60 Hz for remaining examples
2023-07-18 16:58:05 +08:00
mischa
8164018483
perf: default send rate increased from 30 Hz to 60 Hz for users to get better initial results
2023-07-18 16:54:49 +08:00
mischa
82c09850da
Tanks demo: increase send rate from 30 Hz to 120 Hz to avoid rtt being too high. reduces rtt from ~30 ms to ~8ms.
2023-07-18 16:52:22 +08:00
mischa
f6cf32ee8d
Lag Compensation demo: fix warning
2023-07-18 16:10:58 +08:00
mischa
70c34ecf5d
NetworkBehaviour.OnValidate: GetComponentInParent(bool) 2020 support (credits FakeByte)
2023-07-18 15:37:04 +08:00
mischa
27e2238d0b
typo
2023-07-18 15:14:26 +08:00
mischa
8b6364bb76
NetworkIdentity: correct GetComponentInParent explanations (credit: FakeByte)
2023-07-18 14:49:26 +08:00
mischa
6d4e460f87
NetworkIdentity: expose AssetGuidToUint in builds
2023-07-18 14:44:17 +08:00
mischa
4ec80368f6
fix: NetworkBehaviour.OnValidate can't find parent NetworkIdentity because both the Unity define and GetComponentInParent() are broken in 2023.3 LTS.
2023-07-18 14:33:34 +08:00
mischa
0315fb3345
fix: Tanks demo: replace Turret obsolete NetworkTransform with NetworkTransformUnreliable component
2023-07-18 14:09:09 +08:00
mischa
fcd3a6b91b
perf: remove some unnecessary inlining to optimize instruction cache
2023-07-18 13:24:02 +08:00
mischa
0862b9b99f
NetworkIdentity: expose AssetId to Guid translation function
2023-07-10 12:53:28 +08:00
Robin Rolf
39211f9002
fix: 2019 tests work again ( #3547 )
2023-07-09 12:22:59 +08:00
mischa
629e50e4f9
fix: NetworkBehaviour OnValidate #ifdef adjusted for Unity 2020.3.19 support
2023-07-08 14:33:39 +08:00
mischa
f62b9a5a24
improve error message for #3525 for cases where the [SyncVar] is named 'value'
2023-07-06 20:03:01 +08:00
mischa
468192b046
fix NetworkIdentityTests by applying the workaround for #3525
2023-07-06 20:01:31 +08:00
mischa
acf67dddb0
fix : #3525 by explaining the solution in the Error message.
2023-07-06 19:59:16 +08:00
mischa
7c86f6a129
Re-enable the failing tests
2023-07-06 19:47:29 +08:00
mischa
69647f26a1
NetworkClient OnGUI: better rtt display
2023-07-06 17:11:20 +08:00
mischa
59e04f7902
breaking: NetworkTime.PingFrequency renamed to PingInterval. Makes it more obvious that we use it as interval, not as frequency in Hz.
2023-07-06 16:45:11 +08:00
mischa
d64c5fb61b
fix PrepareToSpawnSceneObjects tests after recent fix
2023-07-06 16:45:03 +08:00
mischa
a463d48681
NetworkTime: more readable ping interval check
2023-07-06 16:33:08 +08:00
James Frowen
08fa0269de
fix : #3538 calling unspawn on scene objects in DestroyOwnedObjects ( #3542 )
...
* fix: calling unspawn on scene objects in DestroyOwnedObjects
fixes: https://github.com/MirrorNetworking/Mirror/issues/3538
* Update NetworkConnectionToClient.cs
---------
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-07-06 09:59:28 +02:00
James Frowen
51c7162af7
fix: PrepareToSpawnSceneObjects checks netId instead of activeSelf [ fixes : #3541 ] ( #3543 )
...
* fix: fixing PrepareToSpawnSceneObjects not added enabled objects
fixes: https://github.com/MirrorNetworking/Mirror/issues/3541
Should be safe to remove this extra check complete, it is safe to add spawned object to `spawnableObjects`. For now this just changes it to NetId to ensure that the object really is unspawned and not just enabled
* Update NetworkClient.cs
---------
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-07-06 09:56:23 +02:00