Profiling tool for UdonSharp
- Download and install the project from my VCC Listing
- Add the prefab from the package's sample folder into you scene
- Enable the profiler by going to
Tools/UdonSharpProfiler/Enable
(click again to disable, having it enabled does make your udon programs slower.) - Drag the UdonSharp Behaviours into the
Targets
array on the Profiler prefab - Enter play mode or play through the VRChat client.
- Press
O
to start recording. - Press
P
to stop recording. - Create a trace file by going to
Tools/UdonSharpProfiler/Save Unity
Log orTools/UdonSharpProfiler/Save VRChat Log
- Load the file into Perfetto