Iterate on code insanely fast without breaking play session
Are you tired of waiting for full domain-reload and script compilation every time you make a small code change?
Me too.
Tool will automatically compile only what you've changed and immediately hot-reload that into current play session.
Iterate on whatever you're working on without reentering play mode over and over again.
Works with any code editor.
Setup
- Import
- Play
- Make Code Change
- See results
It's that simple!
Hot-Reload in development build (on device)
You can use add-on to this tool: Live Script Reload to create builds (Standalone / android) which will allow you to use Hot-Reload functionality in builds.
Iterate quickly on deployed Android APK / standalone windows build.
One-off custom code executions on Hot-Reload
When you need to set the stage to test your feature out.
Add following methods to changed script:
void OnScriptHotReload() { //do whatever you want to do with access to instance via 'this' } static void OnScriptHotReloadNoInstance() { //do whatever you want to do without instance //useful if you've added brand new type //or want to simply execute some code without |any instance created. //Like reload scene, call test function etc }
Performance
It's a development tool, you're not supposed to ship with it! :)
Your app performance won't be affected in any meaningful way though.
Biggest bit is additional memory used for your re-compiled code.
Won't be visuble unless you make 100s of changes in same play-session.
Supports (Tested)
- Unity 2019.3
- Unity 2020.3
- Unity 2021.3
- Unity 2022.2
Roadmap
- Add debugger support for hot-reloaded scripts
- Better compiler support to work around limitations
100% satisfaction guaranteed or Your money back!
Get On Asset StoreProducts
![VR Training - Controllers Onboarding](/Content/projects/vr-training-controllers-onboarding/vr-training-controllers-onboarding-thumb.jpg)
Controllers Onboarding
VR Training Utility
![Transform Changes Debugger](/Content/projects/transform-changes-debugger/transform-changes-debugger-thumb.jpg)
Transform Changes Debugger
Any change, any transform, any frame
![Immersive VR Mechanic Tools and Interactions](/Content/projects/immersive-vr-mechanic-tools-and-interactions/immersive-vr-mechanic-tools-and-interactions-thumb.jpg)
Immersive VR Mechanic
Tools and Interactions
![Immersive VR Inventory](/Content/projects/immersive-vr-inventory/immersive-vr-inventory-thumb.jpg)
Immersive VR Inventory
(Backpack / Holsters / Containers)
![Remote hands tracking](/Content/projects/remote-hands-tracking/remote-hands-tracking-thumb.jpg)
Remote hands tracking
for Oculus Quest
![Missing Unity Events](/Content/projects/missing-unity-events/missing-unity-events-thumb.jpg)
Missing Unity Events
What is changing my transform?
![Remote hands tracking](/Content/projects/transform-setter-interceptor/transform-setter-interceptor-thumb.jpg)
Transfrom Setter Interceptor
What is changing my transform?
![Visualising Event Call Chains](/Content/projects/visualising-event-call-chains/visualising-event-call-chains-thumb.jpg)