vis2k
68d38832ed
NetworkScenePostProcess: use LogWarning instead of LogWarningFormat
2021-02-18 13:57:47 +08:00
vis2k
4624f34b0e
syntax
2021-02-18 13:56:33 +08:00
vis2k
d8187d4b7d
syntax
2021-02-18 13:56:33 +08:00
vis2k
d83ce37760
remove //namespace comments
2021-02-18 13:56:33 +08:00
MrGadget1024
2fe83134b4
doc: Removed LogSettings docs
2021-02-18 00:51:20 -05:00
vis2k
5fd79094fc
fix: changing any NetworkIdentity settings in the Inspector at runtime (like forceHidden) would call OnValidate, cleared the assetId because the prefab conection isn't known at runtime. As result, the NetworkIdentity couldn't be spawned on other clients anymore because assetId is empty.
2021-02-18 13:43:00 +08:00
vis2k
dd29d99be2
Revert "fix: SetupIDs() now detects if Editor is running. fixes a bug where changing any NetworkIdentity setting at runtime would clear the NetworkIdentity.assetId, causing respawn bugs where client would receive an empty assetId (forceHidden -> not forceHidden)."
...
=> this broke two of the runtime tests previously
2021-02-18 13:43:00 +08:00
MrGadget1024
ae5875203e
Removed Overrides of OnServerError / OnClientError in templates
2021-02-17 22:14:27 -05:00
vis2k
9927c827dc
disable log
2021-02-18 10:43:55 +08:00
vis2k
3db423455b
fix: GUIConsole now shows logs in editor too. instead of only showing the empty console.
2021-02-18 10:43:55 +08:00
vis2k
2631982cb3
feature: perf: Global Interest Management. NetworkVisibility components per-NetworkIdentity obsoleted and replaced by one global InterestManagement component on NetworkManager instead. Significantly easier to understand, allows for spatial hashing (~30x faster) and reduces amount of components in the worlds (for 1k objects, we avoid 1k NetworkVisibility components now). ( #2581 )
...
* feature: perf: Global Interest Management. NetworkVisibility components per-NetworkIdentity obsoleted and replaced by one global InterestManagement component on NetworkManager instead. Significantly easier to understand, allows for spatial hashing (~30x faster) and reduces amount of components in the worlds (for 1k objects, we avoid 1k NetworkVisibility components now).
* Benchmark scene uses new Spatial Hashing
* improve message
* Update Assets/Mirror/Components/InterestManagement/SpatialHashing/Grid2D.cs
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
* NetworkIdentity.forceHidden changed to enum to prepare for forceShown
* NetworkIdentity.Visibility: added ForceShown option
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
2021-02-18 10:16:10 +08:00
vis2k
650231025f
Interest Management: NetworkConnection.visList renamed to observing
2021-02-16 20:38:52 +08:00
vis2k
bd4fa37cd5
use M icon in all runtime scripts
2021-02-16 20:33:17 +08:00
vis2k
798984e4de
breaking: [Command(ingoreAuthority=false)] double negative changed to [Command(requiresAuthority=true)]
2021-02-16 20:32:05 +08:00
vis2k
c4899a92ca
remove comments
2021-02-16 20:29:57 +08:00
vis2k
9cf5984ce9
breaking: [ClientRpc(excludeOwner=false)] double negative changed to [ClientRpc(includeOwner=true)]
2021-02-16 20:26:49 +08:00
vis2k
60b112079c
Welcome Message updated
2021-02-16 20:23:58 +08:00
vis2k
64eba8204f
CustomAttributes.cs renamed to Attributes.cs
2021-02-16 20:23:12 +08:00
vis2k
020f79a8d2
Weaver: worker.Append(worker.Create(Opcode)) replaced with worker.Emit(Opcode)
2021-02-16 20:17:44 +08:00
vis2k
7ba6a9ab0b
Weaver Log simplified
2021-02-16 20:16:42 +08:00
vis2k
34a1722c76
Weaver Extensions: remove comments
2021-02-16 20:16:37 +08:00
vis2k
1b5ff01c8c
Weaver Extensions: syntax
2021-02-16 20:16:34 +08:00
vis2k
2ac0b3692c
Weaver Extensions: remove comment
2021-02-16 20:16:31 +08:00
vis2k
a8eb104273
Weaver CompilationFinishedHook: syntax
2021-02-16 20:16:25 +08:00
vis2k
bb8de742ae
Weaver CompilationFinishedHook: syntax
2021-02-16 20:16:22 +08:00
vis2k
7abbd2411e
Weaver CompilationFinishedHook: remove unused fields
2021-02-16 20:16:06 +08:00
vis2k
cfc648d722
Weaver Extensions: use Linq
2021-02-16 20:11:18 +08:00
vis2k
9121a65cc8
Weaver Extensions ImplementsInterface: use Linq
2021-02-16 20:11:13 +08:00
vis2k
7bd86cef5f
syntax
2021-02-16 20:10:31 +08:00
vis2k
9438b90c0d
syntax
2021-02-16 20:09:36 +08:00
vis2k
078e3c228d
feat: GUIConsole from uMMORPG add component to scene, press F12 to see log console in builds
2021-02-16 20:07:40 +08:00
vis2k
0185539905
WeaverTypes: remove unused
2021-02-16 20:06:32 +08:00
vis2k
7e509eae4a
Weaver.ReadAllFields: remove unused field
2021-02-16 20:05:53 +08:00
vis2k
bd34f100fc
syntax: remove unnecessary 'private'
2021-02-16 20:04:19 +08:00
vis2k
d75eeb346c
NetworkMessage moved into NetworkMessage.cs
2021-02-16 20:01:22 +08:00
vis2k
deaf73cc2a
remove unused imports
2021-02-16 19:59:55 +08:00
vis2k
3296de741f
DotNetCompatibility extension moved into Extensions.cs
2021-02-16 17:48:28 +08:00
vis2k
080924193d
remove unused Weaver Helpers.DestinationFileFor
2021-02-16 17:46:59 +08:00
vis2k
daf324310d
remove unused ScriptableObjectUtility
2021-02-16 17:46:23 +08:00
vis2k
d91ae9317d
ProjectSettings: default quality reduced to high
2021-02-16 17:45:19 +08:00
vis2k
ffebaa9cc6
StringHash extensions renamed to Extensions
2021-02-16 17:40:26 +08:00
vis2k
092ce8b214
breaking: removed LogFactory
2021-02-16 17:34:57 +08:00
vis2k
4be31cac9d
fix: batching reimplemented to be testable. fixes > MTU sized messages previously flushing out empty batches because the if size check is always true for > MTU sized messages, causing it to flush previous batch even if empty, causing odd empty message behaviour on server and client.
...
(added tests too)
2021-02-14 19:29:13 +08:00
vis2k
66b64f010f
fix: kcp2k V1.8: fixes empty message sending/receiving undefined behaviour and fixes IPv6 errors on Nintendo Switch
2021-02-14 17:46:34 +08:00
Robin Rolf
4cc9f2ea6a
Add scripting define for telepathy api change ( #2573 )
2021-02-13 13:20:05 -05:00
MrGadget1024
d26b09d544
Fixed Typo
2021-02-13 13:12:01 -05:00
vis2k
631fdb80d1
breaking: remove unused ErrorMessage & handlers
2021-02-14 00:43:42 +08:00
vis2k
4c12c59f78
breaking: remove NetworkConnection.InvokeHandler now that it's not needed anymore
2021-02-14 00:43:39 +08:00
vis2k
be42976a26
fix: NetworkServer/Client don't use Connect/DisconnectMessage anymore. fixes a bug where external connects could try sending that message causing undefined behaviour ( #2577 )
2021-02-14 00:39:23 +08:00
vis2k
5aed823cc7
fix: SetupIDs() now detects if Editor is running. fixes a bug where changing any NetworkIdentity setting at runtime would clear the NetworkIdentity.assetId, causing respawn bugs where client would receive an empty assetId (forceHidden -> not forceHidden).
2021-02-12 01:04:06 +08:00