Sakanfar Auto Compiler instant C# hot patching in Play Mode. No domain reload. Edit code, see results live. Includes Play Mode State Preserver to keep your scene tweaks.Stop waiting. Start creating.Sakanfar Auto Compiler is an ultra-fast, in-memory script patching tool designed to completely eliminate Unity’s frustrating Domain Reload times during active development.Whether you are in Edit Mode or actively testing in Play Mode, Sakanfar Auto Compiler allows you to modify your C# methods, tweak math, and adjust logic on the fly. Simply save your script, and your changes are injected directly into your running game’s memory in less than a second—without a progress bar, without breaking your flow, and without losing your game state.Why choose Sakanfar Auto Compiler? Unlike heavy, expensive solutions that require massive third-party detouring libraries or proxy-class generation, Sakanfar uses a razor-sharp, lightweight approach. By utilizing unsafe C# and direct x64 IL injection, it achieves the exact same instant-refresh speeds for standard method modifications with practically zero memory overhead.Bonus: The Play Mode State Preserver Unity notoriously erases all Scene changes the moment you exit Play Mode. We fixed that. With our built-in Preserver, you can move objects, change materials, and tweak lighting while the game is running. Simply select the customized GameObjects in your Hierarchy and hit Stop. Sakanfar Auto Compiler will instantly intercept the stop process and safely overwrite their Edit-Mode originals with your modified versions!Sub-second Code Refreshes: Instantly patch changes to any method body, logic condition, math equation, or local variable without triggering a Domain Reload.Zero Heavy Dependencies: Runs entirely natively. It does not use heavy third-party modding frameworks (like HarmonyLib) or compile massive hidden proxy DLLs.Selective Play Mode Preservation: A built-in workflow that allows you to permanently save specific Hierarchy tweaks made during Play Mode, while safely letting the rest of the game (like physics and player positions) reset normally.Scene View Status Overlay: A fully customizable, non-intrusive status indicator injected directly into the Scene View so you always know when the compiler is listening.Smart Fallback: If you attempt to make a structural code change that memory patching cannot legally support (like adding new Class Fields or changing Method Signatures), the tool intelligently ignores the patch and waits for a standard Unity compilation.OS Support: Windows Only (Requires kernel32.dll).Unity Version: Compatible with Unity 2021.3 LTS, 2022.3 LTS, and newer.Artificial Intelligence (specifically DeepMind's Antigravity assistant) was used exclusively as a pair-programming architect during the development of this asset. AI assisted in writing the low-level unsafe C# memory injection code, formatting the Editor UI styles, optimizing the PrefabUtility logic for the Play Mode Preserver, and formatting the official documentation. All code was thoroughly reviewed, tested, and compiled natively inside the Unity Editor.



