Skip to content

UntRainy/UntProfiler

Repository files navigation

UntProfiler

Generate server profile data for Unity Profiler.

Installation

  1. Copy UntProfiler.dll to Rocket\Plugins
  2. Download Unity version that Unturned is using from Unity Release Archives (currently 2021.3.29f1)
  3. Backup your original Unturned.exe and UnityPlayer.dll
  4. Copy WindowsPlayer.exe and UnityPlayer.dll of development builds from Editor\Data\PlaybackEngines\windowsstandalonesupport\Variations\win64_player_development_mono into Unturned server's root directory
  5. Rename WindowsPlayer.exe to Unturned.exe

Usage

Use the following commands to profile your server.

The result profile data will be output to Rocket\Plugins\UntProfiler, in a name of profile-yyyy-MM-dd_HH-mm-ss.raw. You can open the profile data within Unity Profiler.

startprofiling

Starts the profiling session.

stopprofiling

Stops the profiling session.

beginsample

/beginsample <name>

Begins a sample piece with specific label.

endsample

Ends the current sample piece.

About

Generate server profile data for Unity Profiler.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages