Network Profiler for Mirage using the new unity profiler package (requires Unity 2021.3 or later)
Thanks to https://github.com/JesusLuvsYooh/MirrorNetworkProfiler for some reference code.
Add Required package: Unity Profiling Core API
- If Installing Mirage Profiler via package manager this prerequisite will be added automatically.
use package manager to get versions easily, or replace #v1.0.3
with the tag, branch or full hash of the commit.
IMPORTANT: update v1.0.3
with latest version on release page
"com.james-frowen.mirage-profiler": "https://github.com/James-Frowen/Mirage.Profiler.git?path=/Assets/Mirage.Profiler#v1.0.3",
"com.james-frowen.mirage-profiler": "https://github.com/James-Frowen/Mirage.Profiler.git?path=/Assets/Mirage.Profiler#v1.1.0-mirror.5",
Download unity package from release page make sure to select the version for Mirage or Mirror depending on what you are using
- Add NetworkProfilerRecorder to NetworkManager
- Open Unity's Profiler and select the "Network Profiler" module
- Press play, and start server or client
- Fix frames sometimes not lining up
- Add option to show message from multiple frames at same time
- Flexable width of table
- Multi-instance support for mirage (give option to pick which server/client NetworkDiagnostics uses)