Agents patch edited method bodies into the running Play Mode session, so a one-line fix doesn't cost you the scene or the bug you just reproduced.
It covers method bodies in Assembly-CSharp, your asmdefs and embedded packages, whether you edit in the editor or an agent writes to disk. Agents arm it with hotReload: true on unity.play, the same toggle the Player panel has. It needs Unity 6 on Mono.
Awake or Start only affects objects spawned afterwards.For the rest of the live scene, unity.exec in the Unity MCP server runs C# in the session through Roslyn: spawn objects, change values, call your handles. In the clip above, two prompts recolor the lights and set the monolith spinning while Play Mode keeps running.
Method bodies, during Play Mode, on Unity 6 (Mono), in Assembly-CSharp, asmdefs and embedded packages. New fields, methods and types need a normal recompile.
No, it needs Mono, which the editor uses. Your IL2CPP player builds are unaffected.
Yes. The clones hot-reload with the primary.
Patch the running game and keep the state.