Skip to content

MirrorNetworking/Mirage.Profiler

 
 

Repository files navigation

Discord Releases Releases GitHub Sponsors

Mirage.Profiler

Network Profiler for Mirage using the new unity profiler package

Thanks to https://github.com/JesusLuvsYooh/MirrorNetworkProfiler for some reference code.

Profiler example

How to install

Add Required package: "com.unity.profiling.core": "1.0.2" if using package manager this will be done automatically

Unity package manager (Mirage only)

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

Mirage

"com.james-frowen.mirage-profiler": "https://github.com/James-Frowen/Mirage.Profiler.git?path=/Assets/Mirage.Profiler#v1.0.3",

Mirror

"com.james-frowen.mirage-profiler": "https://github.com/James-Frowen/Mirage.Profiler.git?path=/Assets/Mirage.Profiler#v1.1.0-mirror.5",

Unity package

Download unity package from release page make sure to select the version for Mirage or Mirror depending on what you are using

How to use:

  1. Add NetworkProfilerBehaviour to NetworkManager
  2. Open Unity's Profiler and select the "Network Profiler" module
  3. Press play, and start server or client

Future Development

  • 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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.5%
  • Shell 0.5%