Generate server profile data for Unity Profiler.
- Copy
UntProfiler.dlltoRocket\Plugins - Download Unity version that Unturned is using from Unity Release Archives (currently 2021.3.29f1)
- Backup your original
Unturned.exeandUnityPlayer.dll - Copy
WindowsPlayer.exeandUnityPlayer.dllof development builds fromEditor\Data\PlaybackEngines\windowsstandalonesupport\Variations\win64_player_development_monointo Unturned server's root directory - Rename
WindowsPlayer.exetoUnturned.exe
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.
Starts the profiling session.
Stops the profiling session.
/beginsample <name>
Begins a sample piece with specific label.
Ends the current sample piece.