Commit Graph

8280 Commits

Author SHA1 Message Date
MrGadget1024
b0f0145cc8 Revert "chore(CI): unity-test-runner@v3"
This reverts commit 0df8191039.
2023-12-23 11:56:41 -05:00
MrGadget1024
0df8191039 chore(CI): unity-test-runner@v3 2023-12-23 11:53:37 -05:00
MrGadget1024
96dd9dbba1 chore(CI): activation use upload-artifact v4 2023-12-23 11:28:59 -05:00
mischa
e46aff53d1 Prediction: only show ghosts while not inside the target object 2023-12-19 15:07:14 +01:00
mischa
88c7fa78c1 fix(NetworkPingDisplay): increase default width so rtt number isn't cut off 2023-12-19 14:46:32 +01:00
mischa
58148e02e5 fix(Prediction): PredictedRigidbodyVisual rotation interpolation now works 2023-12-19 14:12:06 +01:00
mischa
3d87b3f0c3 PredictedRigidbody: force SyncDirection so users can't configure it wrongly 2023-12-19 13:32:22 +01:00
mischa
f1cf4f6067 fix(Prediction): PredictedRigidbody now copies all materials, not just the first 2023-12-19 13:06:33 +01:00
mischa
0864676948 perf(PredictedRigidbody): get mesh renderer only once 2023-12-19 13:06:30 +01:00
mischa
12e73d3619 fix(Prediction): PredictedRigidbody now sets all materials to ghost material, not just one 2023-12-19 12:58:02 +01:00
MrGadget1024
2c0254c574 chore(CI): RunUnityTests - updated unityVersion 2023-12-16 21:22:07 -05:00
MrGadget1024
0fe6726710 chore(CI): RunUnityTests - updated unityVersion 2023-12-16 15:33:30 -05:00
mischa
91e028fbb4 MIRROR_86_OR_NEWER 2023-12-12 10:37:33 +01:00
MrGadget
5132fa8bfc
feat(HUD): Support for MultiplexTransport Port (#3662)
* Moved Multiplex to Core

* Updated Available and ToString in Transports
- Available now uses `#if UNITY_WEBGL` because `Application.platform != RuntimePlatform.WebGLPlayer;` doesn't work in Editor
- ToString was shortened and includes port for presentation in HUD

* NetworkManagerHUD: Added support for MultiplexTransport

* Moved Multiplex back to Transports

* Implemented PortTransport in Multiplex

* NetworkManagerHUD: reverted width change

* Revamped Port handler

* Changed LogError to LogWarning in Port setter

* Moved ToString change to separate PR

* Use Utils.IsHeadless

* Use Utils.IsDebug

* Removed console logging
2023-12-12 10:23:35 +01:00
MrGadget1024
b2d2cae776 perf(PlayerController): Changed 4 examples to NT-Reliable
- Tanks, Benchmark, CCU, and Pong examples all still use NT-Unreliable
2023-12-11 18:44:03 -05:00
mischa
c1be7b30e3 fix(Edgegap Plugin): fix NRE when reloading assets 2023-12-11 12:06:36 +01:00
mischa
a27a0aedc3 fix script icons 2023-12-11 12:06:33 +01:00
mischa
3e30c44864 Examples/Common: scripts moved into Scripts/ 2023-12-11 11:58:05 +01:00
mischa
67f32f2d90
feature: Edgegap Plugin V2 (#3692)
* Edgegap Plugin V2 from https://github.com/dylanh724/edgegap-unity-plugin-v2/tree/feat/plugin-v2.2

* fix things

* fix warnings

* fix u2020 support

* fix nre

* fix logo hardcoded path

* fix clipboard image hardcoded path and remove fonts

* syntax

* fix unity 2019/2020 breaking all editor UIs

* fix NRE on first open due to old window

* fix 2019 asserts

* link to our documentation

* disable warning

* fix unity 2019 unsupported syntax error

* Mirror.Hosting.asmdef: fix missing ref

* fix: remove all fonts to avoid the errors

* readme: two click hosting

* readme

* better

* fix 2019 errors

* fix U2020 async warning

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-12-09 11:02:01 +01:00
Clayton Hunsinger
608429c314
perf: SyncVar hook invocations no longer instantiate a new action delegate on every call (#3615)
Co-authored-by: Clayton Hunsinger <clayton@talofagames.com>
2023-12-06 15:28:54 +01:00
MrGadget
ab99215e68
feat(NetworkManager): Ability to toggle auto-start in Editor (#3694)
* feat(NetworkManager): Ability to toggle auto-start in Editor

* use Application.isEditor

---------

Co-authored-by: mischa <info@noobtuts.com>
2023-12-06 14:27:46 +01:00
MrGadget
92b99335d8
fix(ConnectionQuality): Move Connection Quality to Network Client (#3693)
* fix(ConnectionQuality): Move Connection Quality to Network Client
- Added zero as disable value
- Added Tooltip and Range to NetworkManager.connectionQualityInterval
- Obsoleted NetworkManager.OnConnectionQualityChanged
- Added temporary event wireups for OnConnectionQualityChanged
- Removed Action and overrides from NetworkManager template

* Removed stray blank line

* Added ConnectionQualityMethod Selection
- Enum added to ConnectionQuality
- Fields added to NetworkManager and NetworkClient
- Switch added to NetworkClient.UpdateConnectionQuality

* Use right params for Pragmatic

* Renamed Fields in NetworkManager
2023-12-06 10:06:31 +01:00
MrGadget1024
dd1923e4fd fix: Reset Scenes for 2019+ 2023-12-05 17:00:31 -05:00
MrGadget1024
d477189a97 fix(StinkySteak): Cannot use shortened new() in older Unity 2023-12-05 16:38:43 -05:00
MrGadget1024
b6f86ac3e7 Revert "fix(Examples): Updated scenes and lighting"
This reverts commit e2d63a88b0.
2023-12-05 16:33:45 -05:00
MrGadget1024
f04a2a915c fix(ConnectionQuality): reordered enums 2023-12-05 11:49:38 -05:00
MrGadget1024
c85f591b33 NetworkPingDisplay: Changed width to 100 2023-12-05 11:46:51 -05:00
MrGadget1024
2ddbf8c993 NetworkPingDisplay: Changed connectionQuality to hyphens 2023-12-05 11:46:07 -05:00
MrGadget1024
f05fcd0cab Removed GUI Console from Basic example 2023-12-05 11:42:45 -05:00
MrGadget1024
a3cb76019e fix(GUIConsole): Changed position / layout
- No longer clashes with the standard HUD
2023-12-05 11:31:40 -05:00
MrGadget1024
65fc3dbcb9 fix(GUIConsole): default hotkey changed to tick (Back Quote)
- F keys are mostly assigned to various things in browsers
2023-12-05 11:28:18 -05:00
MrGadget1024
7b55fe99cc HUD: make wdith a variable
- prepares for GUIConsole changes
2023-12-05 11:26:03 -05:00
mischa
77e79de47d
Readme: added Features Matrix (#3691)
* features table

* emojis

* shorter

* stable

* more

* asdf

* a

* b

* c

* d

* e

* ee

* f

* asdf

* g

* h

* \ui

* i

* h

* test

* shorter

* shorter

* physics

* typo
2023-12-05 11:42:17 +01:00
mischa
f1bb7e4543
feature: Stinkysteak benchmark (#3690)
* wip

* add dependencies

* OnGUI

* timer license updated
2023-12-05 09:52:15 +01:00
MrGadget1024
e2d63a88b0 fix(Examples): Updated scenes and lighting 2023-12-04 19:41:03 -05:00
MrGadget1024
2625fe4e5c chore(CI): RunUnityTests - updated unityVersion 2023-12-04 09:38:01 -05:00
MrGadget1024
c834c227c6 Removed leftover empty folder metas 2023-12-04 06:19:41 -05:00
mischa
5eb877ae4a
Update README.md 2023-12-04 10:24:48 +01:00
mischa
d7d82f8551
Update README.md 2023-12-04 10:23:52 +01:00
JesusLuvsYooh
49e5f767a6
feat: Compress network transform rotation boolean. (#3677)
* Compress Rotation Boolean

* Remove whatever the heck that was.

* Tidy Up

* Tidy Up 2

* You didnt see this.

* NT Unreliable Quaternion Compression

* Update NetworkTransformUnreliable.cs

---------

Co-authored-by: mischa <16416509+miwarnec@users.noreply.github.com>
2023-12-03 22:55:14 +01:00
MrGadget
c980fd9f91
feat(Utils): Add IsWebGL and IsDebug (#3688)
* fix(Utils): Add IsWebGL and IsDebug

* Constants
2023-12-03 22:53:28 +01:00
Andrew Allbright
02d12c12f2
Remove 'Empty' files that are older than 1 year (#3682) 2023-12-03 22:50:25 +01:00
MrGadget
f701ae1fda
fix(Utils): Fix IsHeadless to work in editor for Unity 2021+ (#3680) 2023-12-03 20:07:51 +01:00
MrGadget
c1699f8157
fix(KCP): Added port to ToString (#3683) 2023-12-03 20:07:16 +01:00
JesusLuvsYooh
16dbeb1707
feat: NetworkTransform obsolete define removal. (#3687) 2023-12-03 20:01:03 +01:00
MrGadget1024
eb0839674d fix(MultipleAdditiveScenes): Fixed missing RandomColor script on Player 2023-12-03 13:49:03 -05:00
MrGadget1024
f0b469410d fix: Reset walls 2023-12-03 13:43:26 -05:00
MrGadget
3136e6e752
Code Formatting in NT scripts (#3681) 2023-12-03 09:57:11 -05:00
MrGadget
93d7bd1889
fix(KCP): Use compiler symbols in Available (#3668)
* fix(KCP): Use compiler symbols in Available

* Added Comments
2023-12-03 08:50:43 -05:00
MrGadget
98dcffb701
fix(Telepathy): Use compiler symbols in Available (#3667)
* fix(Telepathy): Use compiler symbols in Available

* Added Comments
2023-12-03 08:50:19 -05:00