Hot reload: a tool which lets you skip all compile times in Unity
It uses a custom C# compiler integration, and only compiles the code that was changed. That output is used to patch up the existing C# code while it's running. It works both inside and outside of playmode.
There shouldn't be any serious risk as you can always just recompile the code normally to reset any bad changes which may have failed to apply (i.e. when using some unsupported features).
It doesn't currently support changes that would require vtable modifications like having a type implement another interface or adding an override to an existing virtual method. There are some other unsupported features that can be checked in the docs, but generally it covers a lot of use cases and can be really useful.
https://www.reddit.com/r/Unity3D/comments/10v66xi/we_just_released_a_free_tool_which_lets_you_skip/
Website: https://hotreload.net/
#editortool #hotreload
Post #2084
235
- 👍 7