MrGadget
6de039cf9d
Merge branch 'master' of https://github.com/vis2k/Mirror
2022-05-31 08:29:04 -04:00
MrGadget
77259e1c31
change label text
2022-05-31 08:28:52 -04:00
vis2k
f65b9cadbe
Write/ReadBlittable explanation why private
2022-05-27 22:45:12 +07:00
vis2k
bb8412d5e7
NetworkIdentity Serialization: explain write index
2022-05-26 23:32:08 +07:00
MrGadget
adb66b427c
NetworkBehaviour: Improved logging ( #3165 )
...
* NetworkBehaviour: Improved logging
* NetworkBehaviour: Improved logging
2022-05-25 14:33:23 -04:00
MrGadget
50e6bb1101
Online scene removed Safety plane
2022-05-14 12:20:30 -04:00
MrGadget
8139c28ff0
Online scene lighting
2022-05-14 12:19:55 -04:00
MrGadget
4c52c13160
Removed CanvasRenderer
2022-05-14 12:10:27 -04:00
MrGadget
e0e098531e
fixed NetworkManager Script Tempate
...
- broken by PR #3158
2022-05-13 10:32:44 -04:00
MrGadget
6ac03a02d6
Improved Chat example
2022-05-13 10:09:49 -04:00
MrGadget
876adb8f42
Improved Chat example
2022-05-13 09:54:12 -04:00
MrGadget
e27a1cd1e7
Improved Chat example
2022-05-13 09:39:22 -04:00
vis2k
096fe38080
breaking: OnError(Exception) changed to OnError(enum, reason) ( #3158 )
...
* TransportError
* adjust mirror
* obsoletes
* adjust transports
* Refused
2022-05-13 17:28:47 +08:00
vis2k
a2d35b82b6
Transport syntax: group fields together
2022-05-12 12:36:48 +08:00
vis2k
91e2a0f79b
feature: kcp2k V1.19: OnError ErrorCodes
2022-05-12 10:30:59 +08:00
MrGadget
d3fa0c67e5
fix: NetworkClient - Check for duplicate sceneId ( #3157 )
...
* fix: NetworkClient - Check for duplicate sceneid
* renamed local var
* Update NetworkClient.cs
Co-authored-by: vis2k <info@noobtuts.com>
2022-05-12 00:06:43 +08:00
MrGadget
a8202e5d0c
renamed local var
2022-05-11 10:59:10 -04:00
MrGadget
c35ddd20db
fix: NetworkClient - Check for duplicate sceneid
2022-05-11 10:41:10 -04:00
vis2k
1e40bb4f00
NetworkClient/NetworkServer OnTransportError now logs a warning instead of an exception, indicating that it's a transport error and that it's fine. otherwise all kcp info/warnings would now be logged as exceptions
2022-05-08 10:51:22 +08:00
vis2k
ed8911dfef
NetworkServer.OnError renamed to OnTransportError for consistency
2022-05-08 10:46:04 +08:00
vis2k
4c758c25dc
NetworkClient.OnError renamed to OnTransportError for consistency
2022-05-08 10:45:31 +08:00
vis2k
35f1f225f3
fix: kcp2k V1.18
...
- feature: OnError to allow higher level to show popups etc.
- feature: KcpServer.GetClientAddress is now GetClientEndPoint in order to
expose more details
- ResolveHostname: include exception in log for easier debugging
- fix: KcpClientConnection.RawReceive now logs the SocketException even if
it was expected. makes debugging easier.
- fix: KcpServer.TickIncoming now logs the SocketException even if it was
expected. makes debugging easier.
- fix: KcpClientConnection.RawReceive now calls Disconnect() if the other end
has closed the connection. better than just remaining in a state with unusable
sockets.
=> error handling based on #3155
=> fixes #3143
2022-05-08 10:42:32 +08:00
MrGadget
c65eed8ea8
Merge branch 'master' of https://github.com/vis2k/Mirror
2022-05-06 12:20:34 -04:00
MrGadget
efa2b3d4ca
Syntax
2022-05-06 12:20:23 -04:00
MrGadget
876d6d86dc
removed private
2022-05-06 12:19:50 -04:00
vis2k
5c23ac69bc
Update README.md
2022-04-30 12:03:07 +08:00
vis2k
818e0ca9fd
NetworkServer.SendToObservers: use explicit NetworkConnectionToClient type
2022-04-29 19:01:26 +08:00
vis2k
298435001a
fix : #3144 Reader/Writer Sprite null support & test to guarantee it never happens again
2022-04-29 10:08:33 +08:00
vis2k
f413c91cde
Test: Reader/Writer Sprite
2022-04-29 10:05:23 +08:00
vis2k
ae1c7c5fe4
fix : #3144 Reader/Writer Texture2D null support & test to guarantee it never happens again
2022-04-29 09:59:52 +08:00
vis2k
b709453057
fix: NetworkReader/Writer Texture2D now sends dimensions too. fixes "Texture2D.SetPixels32: size of data to be filled was larger than the size of data available in the source array. (Texture '')"
2022-04-29 09:55:19 +08:00
vis2k
d235037954
fix: NetworkReader.ReadTexture2D fixed 'reader not found for Color32[]' error when using it from tests
2022-04-29 09:44:58 +08:00
vis2k
3a742bb7da
Tests: NetworkReader/Writer Texture2D tests added
2022-04-29 09:44:54 +08:00
vis2k
728e6e2fdf
syntax
2022-04-28 18:53:37 +08:00
vis2k
2db24b3761
gitignore 2021 Rider file
2022-04-28 12:59:53 +08:00
vis2k
6c1dc5255e
remove unused import
2022-04-20 10:33:53 +08:00
vis2k
1aaa4ce2a4
perf: Cmd/Rpc bandwidth hash size reduced from 4 => 2 bytes ( #3148 )
2022-04-20 11:33:14 +08:00
vis2k
98d7a9d7d1
NetworkReader/Extensions: inlining ReadBlittable is enough. Don't inline ReadInt etc. too, we don't want ReadBlittable to be copied in place everywhere.
2022-04-20 10:28:30 +08:00
vis2k
4ffb9dfafc
NetworkWriter/Extensions: inlining WriteBlittable is enough. Don't inline WriteInt etc. too, we don't want WriteBlittable to be copied in place everywhere.
2022-04-20 10:26:43 +08:00
vis2k
cebfab010f
fix: Benchmark movement destinations set around start, not around position. prevents them from stopping to move because of the wander off protection.
2022-04-19 13:29:38 +08:00
MrGadget
99d3a91f17
Fixed Authenticator Comments
...
- Fixes #3146
2022-04-18 22:58:16 -04:00
MrGadget
2db726df2e
fix: TeamInterestManagement OnDestroyed logic
2022-04-18 09:07:15 -04:00
MrGadget
0e9d86f563
breaking: Removed Obsoletes ( #3142 )
...
* Removed Experimental NetworkTransform
* NetworkRoomManager: Removed Obsoletes
* NetworkTransformBase: Removed Obsoletes
* NetworkBehaviour: Removed Obsoletes
* NetworkManager: Removed Obsoletes
* NetworkServer: Removed Obsoletes
* SyncObject: Removed Obsoletes
* fixed comment
* fixed XML comment
2022-04-18 08:05:53 +07:00
MrGadget
8d07be97ed
fixed XML comment
2022-04-17 12:40:17 -04:00
MrGadget
63fdd53903
fixed comment
2022-04-17 12:23:44 -04:00
vis2k
3839fafade
remove unused import
2022-04-17 14:16:36 +08:00
vis2k
bec8e01c69
MIRROR_66_0_OR_NEWER
2022-04-17 14:01:24 +08:00
MrGadget
9c47d87bce
XML Comments
2022-04-16 12:46:33 -04:00
MrGadget
c86deedbd9
Updated NetworkStatistics
...
- Reorganized to method call order
- Added component attributes
- XML comments for docs
2022-04-16 12:24:15 -04:00
vis2k
4d0cd1054a
fix : #3138 , 3135 revert Cmd/Rpc from 2 byte indices back to 4 byte function hashes for stability ( #3139 )
...
* Revert "fix: Weaved static constructors need to always run (#3135 )"
This reverts commit b0624b2f64
.
* Revert "perf: Rpcs/Cmds functionHash bandwidth reduced from 4 => 2 bytes (with the potential for 1 byte VarInt) (#3119 )"
This reverts commit a868368eca
.
* comment
2022-04-16 19:53:55 +07:00