Commit Graph

7845 Commits

Author SHA1 Message Date
vis2k
b6cee2aae2 remove unnecessary HostMode.ActivateHostScene function.
this would call OnStartClient for scene objects if .isClient was false.
however, NetworkManager.FinishStartHost calls NetworkServer.SpawnObjects first.
which always sets isClient = true for all scene objects.
2023-01-28 12:47:37 +09:00
vis2k
bb6c0de495 NetworkServer.SpawnObject: add explanation 2023-01-28 12:34:38 +09:00
vis2k
547da088b1 syntax 2023-01-28 12:33:48 +09:00
vis2k
99360ffbcb NetworkClient.BootstrapIdentity helper function to move OnStartAuthority/Client/LocalPlayer callers in one place 2023-01-28 12:15:23 +09:00
vis2k
e9e3874205 fix: NetworkClient.OnHostClientSpawn now sets AOI visibility before invoking user callbacks. 2023-01-28 12:07:45 +09:00
MrGadget1024
7318dfed3f fix: Use GUID's in AsmDef's
- Unity also appled changes per 2021.3.17

See https://docs.unity3d.com/2021.3/Documentation/Manual/class-AssemblyDefinitionImporter.html#asmdef-references
2023-01-27 04:27:15 -05:00
MrGadget1024
900c23a173 fix: Removed invalid reference from KCP AsmDef 2023-01-27 04:17:57 -05:00
MrGadget1024
79718d0638 fix: Added SimpleWebTransport to Mirror.Transports AsmDef 2023-01-27 04:13:56 -05:00
MrGadget1024
f16e1973c0 Additive Levels Offline Scene resaved 2023-01-26 03:28:29 -05:00
mischa
0a2d05b0e4
Update SECURITY.md 2023-01-26 06:27:53 +01:00
vis2k
5802fec712 SHA-1 comments 2023-01-26 01:41:34 +09:00
vis2k
01d0ae1a6b SimpleWebTransport: add SHA1 comments 2023-01-26 01:31:15 +09:00
mischa
604503fa15
Update SECURITY.md 2023-01-25 13:20:52 +01:00
mischa
62ca179346
Update README.md 2023-01-25 13:19:02 +01:00
mischa
da6d4bb8ff
Update SECURITY.md 2023-01-25 13:18:08 +01:00
mischa
3ceadaca40
Create SECURITY.md 2023-01-25 13:16:57 +01:00
mischa
7a9a861821
Update README.md 2023-01-25 13:12:43 +01:00
mischa
f49ff9b996
Update README.md 2023-01-25 13:08:44 +01:00
mischa
696113c2fd
Update README.md 2023-01-25 13:06:55 +01:00
MrGadget1024
debc78310d AdditiveLevels Example - Portal.cs typo 2023-01-24 15:16:46 -05:00
mischa
02369e0fd5
Update README.md 2023-01-24 18:34:47 +01:00
MrGadget1024
22ac763199 NetworkTransformBase - OnClientAuthorityChanged is Server Only 2023-01-20 19:32:06 -05:00
MrGadget1024
2239bb0245 NetworkTransformBase - syntax 2023-01-20 19:29:27 -05:00
MrGadget1024
e1799166c0 main.yml - fixed name 2023-01-20 02:34:29 -05:00
MrGadget1024
235eb62f80 Refactor workflows 2023-01-20 02:31:13 -05:00
MrGadget1024
1208e9e32e main.yml - ignore paths 2023-01-20 01:57:00 -05:00
MrGadget1024
befefeb9bf main.yml - unityVersion 2020.3.44 2023-01-20 01:46:31 -05:00
MrGadget1024
dd5d7cab01 fix: NetworkTransform classes - methods in call order 2023-01-19 07:26:56 -05:00
MrGadget
af0bacf8ae
NetworkTransformBase - Reset when changing authority (#3357) 2023-01-19 12:04:14 +01:00
MrGadget1024
7313710e47 main.yml - Unity 2022.2.2f1 2023-01-18 09:30:07 -05:00
MrGadget1024
16b60e80f3 PlayerCamera - Added warnings for no MainCamera 2023-01-18 09:10:48 -05:00
mischa
db3e594ddc
Update README.md 2023-01-17 09:44:33 +01:00
mischa
180c14657b
Update README.md 2023-01-17 09:43:08 +01:00
mischa
3137c6b0f5
Update README.md 2023-01-17 09:42:26 +01:00
MrGadget1024
a35c0dbd9a fix: ChangeOwner now adds/removes from owned hashset
We do this in spawn and destroy already.
2023-01-16 07:30:39 -05:00
MrGadget1024
3e7837cebd Revert "Added License, Notice, Version files"
This reverts commit 585be60d38.
2023-01-14 11:01:42 -05:00
MrGadget1024
585be60d38 Added License, Notice, Version files 2023-01-14 11:01:14 -05:00
MrGadget
a024753a42
fix: Fixes #3317 - NetworkTransformReliable: don't send last snapshot (#3355) 2023-01-14 11:34:28 +01:00
MrGadget
875b34540a
fix: #3351 - Reset Statics in NS, NC, and NC_TimeInterpolation (#3353)
* fix: Fix #3351 - NetworkClient_TimeInterpolation reset statics
- Fixes #3351

* NetworkServer - reset actualTickRate

* NetworkClient - reset lastSendTime

* NetworkClient_TimeInterpolation - reverted reset of bufferTimeMultiplier
- added comment as to why we're not resetting it.
2023-01-13 22:11:43 +01:00
MrGadget1024
626180b2d3 Network Manager HUD - made it wider so it doesn't wrap as much 2023-01-12 22:09:15 -05:00
MrGadget1024
0cc27d2372 NetworkClient - added bufferTimeMultiplier to OnGUI 2023-01-12 22:08:38 -05:00
vis2k
027458db96 fix: #3344 NetworkServer.Shutdown sets active=false after destroying spawned objects.
this way scene objects without owners can still modify SyncLists in OnStopServer without IsWriteable() throwing an exception about NetworkServer being inactive.
2023-01-12 12:06:04 +01:00
vis2k
74e6b72239 fix: NetworkServer.DisconnectAll doesn't set inactive anymore. it should simply "disconnect all" connections.
otherwise Shutdown may not be able to properly clean up all objects.
prepares to fix #3344
2023-01-12 11:46:45 +01:00
vis2k
c04eeacba6 comment improved 2023-01-12 11:38:24 +01:00
vis2k
e16e55616b fix: #3354 SyncList callback for OP_SET index parameter fixed 2023-01-12 00:44:18 +01:00
MrGadget1024
3e8880db1c BasicAuthenticator - comment typo 2023-01-11 15:47:37 -05:00
MrGadget1024
655d0b0aa8 fix: NetworkClient - make OnGUI public 2023-01-09 19:24:49 -05:00
MrGadget1024
b642da6b2f fix: Fix #3349 - NetworkTransformReliable use correct value in OnSerialize
- Fixes #3349
2023-01-09 09:41:19 -05:00
MrGadget
3e52ef0deb
Fix CI (#3348)
* Update activation.ylm

* Added Semantic.yml

* Added SonarQube.yml

* Updated main.yml

* Updated main.yml

* SonarQube - container fixed

* main.yml - disabled SonarQube for now
- That's going to need a bit more work.
2023-01-09 12:14:04 +01:00
vis2k
2c9f6c4960 fix: kcp2k V1.27. fixes #3337 2023-01-08 11:51:50 +01:00