Unity Asset Store
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/9
Iterate on code insanely fast without breaking play session. Supports any editor. 1. Play 2. Make change 3. See results
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity Version
Built-in
URP
HDRP
6000.0.23f1
Compatible
Compatible
Compatible
2022.3.38f1
Compatible
Compatible
Compatible
2021.2.16f1
Compatible
Compatible
Compatible
Description

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.


And you don't have to adjust your code either, just import.


Works with any code editor.


• Setup

1) Import

2) Play

3) Make Code Change

4) See results


It's that simple.


• Open Source

FSR is fully open source - available on Github, getting it on Asset Store is a huge support!


• 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 (exe).


• 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)

- Windows / Mac (Intel editor version only) / Linux

- Unity 2021.3

- Unity 2022.2

- Unity 6


• Few things to have in mind, limitations:


* most limitations can be overcome with User Defined Script Overrides (see docs for more info)


• Generic methods and classes won't be Hot-Reloaded

Unfortunately generics will not be Hot-Reloaded, to workaround you'd need to move code to non-generic class / method.


• Creating new public methods

Hot-reload for new methods will only work with private methods (only called by changed code)


• Adding new fields (Experimental support added in 1.3)

You can now add new fields and tweak them in editor! Minor limitations:

- outside classes can not call new fields added at runtime

- new fields will only show in editor if they were already used (at least once)


• Extensive use of nested classed / structs

If your code-base contains lots of nested classes - you may see more compilation errors.


• Mac Silicon Editor version not supported

On Mac only Intel Editor version is supported. For Silicon version logs will show that everything is fine but actual change will not happen at runtime


• Other minor limitations

There are some other minor limitations, please consult full list


• Roadmap

- add Mac/Linux support - (DONE, added with 1.1)

- add debugger support for hot-reloaded scripts (DONE, added with 1.2)

- allow to add new fields (adjustable in Editor) (DONE, added with 1.3)

- editor mode support (DONE, added with 1.4)

- better compiler support to workaround limitations


• FAQ

- When importing I'm getting error: 'Unable to update following assemblies: (...)/ImmersiveVRTools.Common.Runtime.dll'

> This happens occasionally, especially on upgrade between versions. It's harmless error that'll go away on play mode.


- When upgrading between versions, eg 1.1 to 1.2 example scene cubes are pink


> This is down to reimporting 'Point' prefab. Right now plugin will make sure it's using correct shader eg. URP / Built-in but only on initial import.


To fix please go to `FastScripReload\Examples\Point\Point.prefab` and search for 'Point' shader.

Technical details

- Tool will automatically compile only what you've changed and immediately hot-reload that into current play session

- Any code editor

- Unity Versions from 2019 to 2022

- Windows / Mac (Intel Editor version only) / Linux

Fast Script Reload

(61)
1072 users have favourite this asset
(1072)
FREE
License type
Extension Asset
File size
8.4 MB
Latest version
1.8
Latest release date
Nov 25, 2024
Original Unity version
2021.2.16 or higher
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members