* fix: fix#796, reload assemblies after initial import
* Do not weave assemblies that aren't compiled yet
* Update CompilationFinishedHook.cs
* Update CompilationFinishedHook.cs
* Use SessionState instead of env variable
When using online scene and starting host mode, users were getting:
```
Closing connection: 0. Received message Mirror.SceneMessage that required authentication
```
* Component-based Authentication
* Capitalized IsAuthenticated
* Added isAuthenticated to NetworkConnection
* Removed activeAuthenticator as unnecessary
* Removed unnecessary using
* Added more comments
* Documentation
* Added cs to code blocks in doc
* fixed typo in doc
* Doc improvements
* Fixed another typo in doc
* Removed HideInInspector
* Updated doc and image
* Fixed comment
* Added inspector header and tooltips
* Fixed typo
* Add AuthenticationData object
* Add a bullet point in the doc about AuthenticationData
* Updated screenshot image
* Added HelpURL attribute
* Added Initializers for both Server and Client
* Fixed doc grammar and phrasing
* Forgot to add the ClientInitialize in StartHost
* Updated doc with info about the initializers
* Changed initializers from bool to void.
* Eliminated the abstract model and renamed to NetworkAuthenticator and made all methods virtual
* Fixed comment
* Fixed typo
* Doc cleanup
* Doc Cleanup
* authenticator RemoveAllListeners in StopServer and StopClient
* Update Assets/Mirror/Runtime/NetworkManager.cs
Co-Authored-By: vis2k <info@noobtuts.com>
* Changes requested by Vis
* reverted conflicting change
* Revert "reverted conflicting change"
This reverts commit f65870e073.
* UnityEditor.Undo.RecordObject
* made the name camelCase
* Added internal methods and On prefix to methods
* Reverted this change so it can be done in a separate PR
* Moved authenticator calls to after runInBackground
* Add built-in timeout feature
* Changed UnityEditor.Undo.RecordObject to use gameobject
* Convert to Abstract, add Basic Authenticator, update docs.
* Removed timeout, against my better judgement.
* Removed the rest of timeout, still against my better judgement
* Fixed event listener mappings
* Renamed and consolidated methods
* updated doc and image
* made OnClientAuthenticate and OnServerAuthenticate abstract
* Updated Debug log msgs
* changed to authenticator != null
* Renamed to NetworkAuthenticator
* Add profiler hooks
* Polish API a bit
Now if we want to add more fields, we can do so without
breaking profilers
* Provide documentation for the profiler data
* Use -1 channel until we implement this feature
* Use C# events instead of UnityEvent
* Simplify message info structure
* Renamed class
* Send -> OnSend
Receive -> OnReceive
* Update Assets/Mirror/Runtime/NetworkConnection.cs
* Update Assets/Mirror/Runtime/NetworkDiagnostics.cs
Co-Authored-By: vis2k <info@noobtuts.com>
* Update NetworkDiagnostics.cs
* Don't reload offline scene
Check if we're already in the offline scene before calling ClientChangeScene to the offline scene.
* Update NetworkManager.cs
* Change Lobby to Room with Obsoletes
* Changed folder from Lobby to Room
* Updated docs
* reverted leftover debu.log line
* Fixed OfflineGUI
* Changed the obsolete classes to inherit from the new ones.
* Fixed SyncVar hook
* fix: error with missing assemblies
During first import, the weaver will be called before all assemblies
are built. No need to look for custom readers and writers if the assemblies
are not built.
fixes#1051
* forgot using
* Turned off Simulated & Set Transform Interval to zero
* Set sync interval to zero
* Removed ballPrefab field
* Cached RigidBody & simplified FixedUpdate
* Cached RigidBody and Moved Start code to OnStartServer
* Scene file updated
* Updated Scene file again
* Moved comments and fixed typos
* Eliminated GetComponent in code
* Assigned Rigidbody2d in inspector of prefabs
* Remove hardcoded writers from weaver
* Remove hardcoded readers from weaver
* Remove unused stuff
* cleanups
* Cleanup some comments
* remove unused import
* Update Assets/Mirror/Editor/Weaver/Processors/ReaderWriterProcessor.cs
* Improve comments a bit
* small cleanups
* Remove redundant private keyword
* Remove unnecesary blank space
* Remove unused field
* Measure how long it takes to find the readers and writers
* Find all extension methods for readers and writers
* Get rid of debugging log
* Don't comment obvious stuff
* Don't swallow exception
* only scan static classes for extension methods
* Add unit test for custom readers and writers
* Update Assets/Mirror/Editor/Weaver/Weaver.cs
* Update Assets/Mirror/Runtime/NetworkWriterExt.cs
* Update ReaderWriterProcessor.cs
* Renamed to avoid abreviations
* Move the extensions inside the same .cs
* Update NetworkReader.cs
* Update NetworkWriter.cs
* adjust comments
* NetworkBehaviour.syncMode
* show in Editor
* feat: component based SyncToOwner, fixes#39
* rename to Observers
* rename writers and comments too
* SendToReady old signature version
* shorter syntax
* fix segment write length
* fix NullReferenceException for local player
* update comment
* support runtime syncMode changes
* add a test
* remove comments
* UL suffix to avoid cast
* UL suffix
* remove empty line
* OnSerializeAllSafely returns how many components were written. MirrorUpdate only sends to owner/observer if anything written.
* fix tests
* Moved doc files to docfx folder
* load csproj
* doc generation
* Run docfx
* Add docfx
* Deploy docs to mirror-networking.com
* use deploy phase
* deploy whole generated site
* Fixed the semantic release command
* Is last \ required?
* show debug log
* using lftp for site deploy
* Testing lftp
* Show current folder
* try -e command option
* Show me the files
* use plain ftp
* use choco install instead of cinst
* fix ssl certificate validation
* fix username
* Upload site to xmldocs folder
* no need to archive docs
* No need for debug output
* Fix file permissions
* show me .htaccess
* Show me contents
* Wipe out folder to fix permissions
* Set file permissions
* Fix file permissions
* complete toc list
* Migrated intro page
* Remove old docs
* Update link to docs
* Add link to github
* Only update docs for stuff in master
* This is a powershell command
* Update doc/articles/Concepts/Communications/RemoteActions.md
* Update doc/articles/Concepts/VisibilityCustom.md
* Update doc/articles/Concepts/Authority.md
* Update doc/articles/Concepts/GameObjects/SpawnObjectCustom.md
* Update doc/articles/Concepts/Authority.md
* Update doc/articles/Classes/SyncVars.md
* No need to run semver twice
* NetworkAnimator update. Support multiple layers.
Just added layerId to sync multiple animator layers.
1 layer = 1x performance.
2 layers = ~0.5x performance.
etc.
Also you can change int to byte to save traffic a bit :)
* Animator updated. WriteParameters(...) args fix.
* fixed variable name
* Updated writer names
* Synchronize scale with NetworkTransformBase
Previously only position and rotation were synchronized,
with this commit scale is synchronized similarly to position.
* Update NetworkTransformBase.cs