vis2k
3a76caf31f
Update README.md
2020-11-01 14:05:11 +01:00
MrGadget1024
1f3c2d26db
Added .ToString("X") to sceneId logging
2020-11-01 01:03:06 -05:00
MrGadget1024
19fcdd40d8
Added Mirror\Tests\Editor\Weaver\bin.meta
2020-11-01 00:41:39 -04:00
MrGadget1024
17413bd257
Added .ToString("X") to sceneId logging
2020-11-01 00:40:42 -04:00
MrGadget1024
0c37a4d794
Updated NetworkIdentity comments
2020-11-01 00:16:16 -04:00
MrGadget1024
f95b0c40af
Updated NetworkIdentity comments
2020-10-31 23:14:58 -04:00
James Frowen
bbb61848be
feat: Quaternion and float Compression ( #2368 )
...
Adding compression methods for Quaternion and floats. These methods can be used to decrease size of Quaternions before sending the value over the network.
ScaleToUInt method can be used to compress float from 32 bits to the range given to the method. This can be used to compress Vector3 if the bounds of the world are known and fixed before runtime.
2020-11-01 02:33:24 +00:00
James Frowen
9182b32946
feat(SimpleWebTransport): adding option to configure handshakeMaxSize
2020-11-01 02:12:16 +00:00
James Frowen
92f5280dcd
docs: updating video playlist on the resources page
2020-11-01 01:48:31 +00:00
MrGadget1024
b4df9b63f7
doc: Updated NetworkMessages doc
2020-10-31 17:12:24 -04:00
MrGadget1024
2a9884c758
doc: Updates RemoteActions doc
2020-10-30 22:57:09 -04:00
James Frowen
f35b7ed81e
fix: fixing sceneId when using BuildPipeline.BuildPlayer with incorrect case in path ( #2382 )
...
* fix: fixing sceneId when using BuildPipeline.BuildPlayer with incorrect case in path
BuildPipeline.BuildPlayer takes an array of strings for scene paths. Unity will find the scene with the path case insensitive but path case is case sensitive.
This change would make it so that these 2 paths have the same hash
```
Assets/Scenes/Forest.unity
Assets/Scenes/forest.unity
```
* Adding full comment for ToLower
* Update NetworkIdentity.cs
Co-authored-by: vis2k <info@noobtuts.com>
2020-10-30 18:41:32 +01:00
vis2k
0c2ad96061
feat: KCP Transport ( https://github.com/vis2k/kcp2k ) ( #2381 )
2020-10-30 13:53:13 +01:00
vis2k
88e160a5f7
Tests: NetworkManagerStopHostOnServerDisconnectTest uses MemoryTransport now
2020-10-30 13:51:25 +01:00
James Frowen
1d6b33c49b
fix(SimpleWebTransport): version 0.6.6
...
Fixes:
* fixing problem in 0.6.3
* updating transport for mirror v26
2020-10-29 22:08:18 +00:00
vis2k
25890303d2
ProjectSettings resaved
2020-10-29 20:20:30 +01:00
vis2k
f08aa636ad
add Mirror V26 preprocessor define
2020-10-29 20:18:23 +01:00
vis2k
de2fbd6b4b
Unity upgraded to 2018.4.28 LTS
2020-10-29 17:14:14 +01:00
vis2k
bbec123eff
breaking: Transport.Send(connectionId) instead of List<connectionId>, and return type changed to void. The List was only there to avoid LLAPI & Telepathy allocations. It makes everything extremely complicated and it's not necessary for any of the newer transports anymore. ( #2380 )
2020-10-29 17:10:57 +01:00
James Frowen
151185e9c5
fix(NetworkAnimator): fixing trigger not applied on host
...
Triggers should now be applied on host when other clients have authority of the object
2020-10-29 15:45:00 +00:00
vis2k
78862ee989
Revert Tanks modifications. Keep it simple.
2020-10-29 13:16:41 +01:00
vis2k
646da8105d
UnityConnectSettings disabled
2020-10-29 13:13:18 +01:00
MrGadget1024
de5db4405c
doc: Updated Migration doc
2020-10-28 23:13:30 -04:00
James Frowen
cd36ed5ae4
fixing compile error
...
2nd PR merged messed up, removing 2nd clientAuthorityBeforeTeleport
2020-10-28 13:52:49 +00:00
MrGadget1024
60763805b2
Added NetworkLerpRigidbody to section doc
2020-10-28 03:12:02 -04:00
MrGadget1024
87c6b11ad5
Added NetworkLerpRigidbody to TOC
2020-10-28 02:44:46 -04:00
James Frowen
82faac5011
splitting up Update method ( #2375 )
...
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
2020-10-27 22:54:56 -04:00
James Frowen
b1d99601eb
Moving variable to top of file. ( #2376 )
...
It is best practice to put variables above all methods in c#
2020-10-27 22:46:23 -04:00
James Frowen
c1e63d4078
fix(SimpleWebTransport): v0.6.3
...
* fixing error where standalone client would not correctly stop after failing to connect
* using ASCII encoding to follow RFC spec
2020-10-28 01:46:22 +00:00
MrGadget1024
cea165addb
Changed to use localSpace
2020-10-27 20:11:47 -04:00
MrGadget1024
a9efaf1ad2
Added ServerTeleport to Experimental NetworkTransform
2020-10-27 19:53:23 -04:00
MrGadget1024
c306a9d5ef
fixed typo
2020-10-27 19:52:34 -04:00
MrGadget1024
cf560c3c0a
doc: Updated ChangeLog
2020-10-27 19:05:51 -04:00
MrGadget1024
f31a9ce5ea
doc: Updated Script Templates doc
2020-10-26 20:07:28 -04:00
MrGadget1024
78d420f6c9
doc: Updated Script Templates doc
2020-10-26 11:49:20 -04:00
MrGadget1024
e700e1e232
Updated ScriptTemplates to Mirror 23.0.3
2020-10-26 11:45:26 -04:00
James Frowen
8e772a2077
fix(weaver): Fixing weaver not writing when assemble didn't have NetworkBehaviour ( #2373 )
...
* Making ReaderWriterProcessor return if it found custom functions (not counting ones in mirror.dll)
* Always writing generateContainerClass if modified
* processing PropertySiteProcessor if either ReaderWriterProcessor or WeaveModule are successful
* creating generateContainerClass in WeaverList constructor
* Moving new WeaverList to after WeaverTypes.SetupTargetTypes
2020-10-26 15:51:38 +01:00
James Frowen
4efd19c4ff
feat: Middleware transport ( #2362 )
...
* feat: adding MiddlewareTransport
* Allows Middleware to be created at the transport layer
* Middleware can choice which methods they want to override and which to let inner handle
* using expression bodies
2020-10-25 21:42:00 +01:00
MrGadget1024
4628685a62
fixed outdated comment
2020-10-25 15:25:34 -04:00
MrGadget1024
8c08ecf84d
Empty braces on same line
2020-10-25 13:44:07 -04:00
MrGadget
75ce277a68
Add Accept and Reject methods to Authenticator ( #2370 )
...
* Add Accept and Reject methods to Authenticator
* Tabs To Spaces
* Removed `base.`
Co-authored-by: MrGadget1024 <chris@clevertech.net>
2020-10-25 12:55:29 -04:00
James Frowen
b19a8ccd12
fix(SimpleWebTransport): making sure that ReadHelper.Read reads exactly number of bytes
...
Docs say that stream.Read could return less than length. Keep reading stream untill length is reached.
2020-10-25 16:05:35 +00:00
James Frowen
414030d023
fix: making ClientAuthorityCallback an event ( #2363 )
...
* stops error prone behaviour of using = from multiple scripts
BREAKING CHANGE: `= callback` now needs to be `+= callback`
2020-10-25 17:01:53 +01:00
MrGadget
8f4ff423cb
Basic Authenticator code organization and comments ( #2369 )
...
Co-authored-by: MrGadget1024 <chris@clevertech.net>
2020-10-25 09:52:16 -04:00
MrGadget1024
7f302dbe4c
Updated ScriptTemplates package
2020-10-24 19:22:14 -04:00
James Frowen
a833f5c29f
Running code clean up ( #2364 )
...
* removing un-needed using
* whitespace
* using explicit types
2020-10-24 20:24:54 +01:00
James Frowen
28fc75140c
fix: improving errors in SendTargetRPCInternal ( #2358 )
...
* fix: improving errors in SendTargetRPCInternal
* now give error when connection is null
* updating error message to accurately explain what went wrong
2020-10-24 20:18:59 +01:00
MrGadget1024
25ebdbe9f9
fixed typo
2020-10-24 13:09:17 -04:00
MrGadget1024
cfde24570d
Updated ChangeLog
2020-10-24 13:08:59 -04:00
MrGadget
77c844184e
Remove Obsoletes ( #2361 )
...
BREAKING CHANGE: Removed Obsolete Methods and Tests
2020-10-24 11:36:44 -05:00