vis2k
4430001521
breaking: perf: assetId as uint instead of Guid. saves 12 bytes and much conversion magic (as suggested by james). may need to resave prefabs once in case of spawn issues.
2022-09-24 18:08:12 +07:00
vis2k
9c5e10f71b
breaking: NetworkBehaviour.SerializeSyncVars return type changed from bool to void to simplify weaver (and reduce branches)
2022-09-24 17:30:20 +07:00
vis2k
7c7f83362b
breaking: perf: NetworkIdentity/NetworkBehaviour OnSerialize return type changed from bool to void to a-void confusion (and branches)
2022-09-23 14:21:48 +07:00
vis2k
92ff55120a
weaver comments
2022-09-23 14:21:31 +07:00
vis2k
29fef498eb
Weaver NetworkBehaviourProcessor: add explanation
2022-09-23 14:19:25 +07:00
vis2k
e63742523c
fix broken tests caused by default transport adding. also fixes tests using kcp unintentionally.
2022-09-23 13:55:54 +07:00
vis2k
99851945e9
NetworkManager.transport field made public so it can be set from tests
2022-09-23 13:55:17 +07:00
vis2k
b82bb86fc7
remove unused import
2022-09-23 13:39:12 +07:00
vis2k
6941df570c
NetworkAnimator: remove unnecessary XML comments
2022-09-23 13:37:13 +07:00
vis2k
498c3c568a
remove unused imports
2022-09-23 13:32:24 +07:00
vis2k
63e3780ecd
Runtime folder renamed to Core. makes it more obvious that Components/, Transports/, Authenticators/ etc. are optional
2022-09-23 13:30:08 +07:00
vis2k
f1e53a09ae
remove old Runtime/Transports folder
2022-09-23 13:29:21 +07:00
vis2k
7a8a3c6e1e
KCP transport moved to root Transports folder; removed old auto upgrading which would require a circular dependency
2022-09-23 13:27:19 +07:00
vis2k
70d82f844d
kcp2k moved to root Transports folder
2022-09-23 13:25:57 +07:00
vis2k
8abf17acae
Middleware transport moved to root Transports folder
2022-09-23 13:24:55 +07:00
vis2k
3e4f4d7614
Multiplex transport moved to root Transports folder
2022-09-23 13:23:33 +07:00
vis2k
1507c764cc
Telepathy transport moved to root Transports folder
2022-09-23 13:21:56 +07:00
vis2k
1c9101b3d4
LatencySimulation transport moved to root Transports folder
2022-09-23 13:21:21 +07:00
vis2k
78e65c40ec
Transports folder next to Components; SimpleWebTransport moved from Runtime to Transports
2022-09-23 13:19:19 +07:00
vis2k
de830650a5
script icons
2022-09-23 13:12:47 +07:00
vis2k
a8c84fe9b8
perf: NetworkIdentity.assetId is now cached to avoid expensive "new GUID" construction
2022-09-17 17:13:56 +08:00
vis2k
a94fe67c23
Utils.IsSceneObject common function for NetworkServer/Client
2022-09-17 17:04:25 +08:00
vis2k
a99bc0ebf5
NetworkClient: ConsiderForSpawning renamed to IsSceneObject because that's what it checks
2022-09-17 16:58:52 +08:00
vis2k
4654a281f3
NetworkServer: ValidateSceneObject renamed to IsSceneObject - that's what it checks
2022-09-17 16:58:13 +08:00
vis2k
0fbf400697
fix: Tanks demo: remove light from projectile as well to fix visual glitches
2022-09-17 16:53:15 +08:00
vis2k
478e1d8c0e
perf: NetworkWriter.WriteString now writes directly into the buffer without the intermediate stringBuffer step
2022-09-17 16:51:03 +08:00
vis2k
ed8e5529ad
syntax
2022-09-17 16:42:49 +08:00
vis2k
ddb79ab0eb
NetworkLoop: remove old Unity 2018 code
2022-09-17 16:36:20 +08:00
vis2k
fc0a40f802
syntax
2022-09-17 16:35:19 +08:00
vis2k
5c04b84108
fix: Tanks demo: remove tank prefab spotlight causing visual glitches
2022-09-17 16:27:30 +08:00
vis2k
18abba3506
NetworkBehaviour.ComponentIndex changed to byte for consistency
2022-09-17 16:19:39 +08:00
vis2k
cf08e1daaa
remove gitignored file
2022-09-17 16:14:46 +08:00
vis2k
3e4b5b3660
perf: Grid2D initial capacity to avoid warmup allocations
2022-09-17 16:13:09 +08:00
vis2k
a6f450710c
perf: Grid2D as struct to avoid memory indirection
2022-09-17 16:11:38 +08:00
vis2k
34e6e8fbd3
readonly
2022-09-17 16:09:40 +08:00
vis2k
dac82ed1e2
NetworkStatistics: expose statistics to other components
2022-09-15 13:17:38 +08:00
vis2k
736d6a40df
resave ProjectSettings
2022-09-15 12:34:47 +08:00
mischa
7eb0452bea
Update README.md
2022-09-15 12:30:25 +08:00
mischa
e04673bc7d
Update README.md
2022-09-15 12:29:12 +08:00
mischa
6a93032089
Update README.md
2022-09-15 12:28:24 +08:00
mischa
7baf5d3f2d
Update README.md
2022-09-15 12:27:29 +08:00
vis2k
bb4f2b99ec
MIRROR_2022_9_OR_NEWER
2022-09-15 12:16:40 +08:00
Paradoks-Studio
7ec14a7791
Update README.md ( #3215 )
...
In the "many more section...", i modified some stuffs.
the image for "solace crafting" has been cropped, should be hosted on github.
https://i.ibb.co/j6qCSVR/190058119-d9d62b95-5fd4-4823-bd6e-67833253c752.png
2022-09-14 22:03:11 +08:00
vis2k
ac352c084d
NetworkManager.GetStartPosition can now be overwritten
2022-09-14 21:38:57 +08:00
vis2k
deb75b5e6f
Unity 2021.3.9
2022-09-14 21:19:34 +08:00
mischa
0cde21a611
Update README.md
2022-09-14 12:15:32 +08:00
vis2k
4b75d2b53d
ConsiderForSpawning & ValidateSceneObject explanations
2022-09-10 21:32:36 +08:00
vis2k
7b08d3afdd
NetworkScenePostProcess set inactive explanation
2022-09-07 13:21:09 +08:00
Robin Rolf
17446f3aa3
perf: Application.isPlaying in hot path is slow ( #3210 )
...
This showed up during a recent il2cpp profile and is accounting for 1% of total cpu usage while being completely unnecessary outside of the editor
https://share.dl.je/2022/08/2022-08-28_14-44-14_CfEcmlR1L6.png
2022-09-01 19:58:32 +08:00
Yu Long
aac75491ac
Add Check for NetworkServer.Spawn ( #3205 )
...
* Added a check for repeatedly calling NetworkServer.Spawn on the same gameObject
* Update NetworkServer.cs
Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2022-08-25 11:56:07 +08:00