profile_play
Build a development player with profiling probes to capture real draw call and frame time data during runtime, enabling performance analysis of Unity scenes.
Instructions
Laufzeit-Profiling SCHRITT 1 (Job): baut einen Development-Player der Szene (inkl. Profiling-
Probe). Echte Draw-Call-/Frame-Zeit-Werte gibt es nur im laufenden Player (Headless-Editor liefert
0 Render-Zähler). Liefert exe_path + perf_file. Nach Build-Ende → run_profiled_player,
dann get_profile_result.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>",
"scene_path": "<scene_path>"
},
"name": "profile_play"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| frames | No | ||
| version | No |