URP / Built-in but only on initial import. Right now plugin will make sure it's using correct shader eg. This is down to reimporting 'Point' prefab. When upgrading between versions, eg 1.1 to 1.2 example scene cubes are pink.It's harmless error that'll go away on play mode. This happens occasionally, especially on upgrade between versions. When importing I'm getting error: 'Unable to update following assemblies: (.)/'.This way FSR will work in playmode and Unity will do full recompile when you hit 'stop'. Or reenable auto-reload - please go to Edit -> Preferences -> Asset Pipeline -> Auto Refreshand set to Enabled Outside of Playmode. You can reload changes manually with CTRL+R You probably allowed tool to change auto-reload to 'disabled' and have forgotten about it. My changes no longer automatically compile / reload.better compiler support to workaround limitations.editor mode support (DONE, added with 1.4).allow to add new fields (adjustable in Editor) (DONE, added with 1.3).add debugger support for hot-reloaded scripts (DONE, added with 1.2).add Mac/Linux support - (DONE, added with 1.1).more structured unit-tests, especially around script rewrite.Soon whole roadmap will be published as Github project for better visibility. There are some other minor limitations, please consult full list For Silicon version logs will show that everything is fine but actual change will not happen at runtime On Mac only Intel Editor version is supported. If your code-base contains lots of nested classes - you may see more compilation errors. new fields will only show in editor if they were already used (at least once)Įxtensive use of nested classed / structs.outside classes can not call new fields added at runtime.You can now add new fields and tweak them in editor! Minor limitations: Hot-reload for new methods will only work with private methods (only called by changed code)Īdding new fields (Experimental support added in 1.3) Unfortunately generics will not be Hot-Reloaded, to workaround you'd need to move code to non-generic class / method. Generic methods and classes won't be Hot-Reloaded most limitations can be overcome with User Defined Script Overrides (see docs for more info).Windows / Mac (Intel editor version only) / Linux.Won't be visible unless you make 100s of changes in same play-session. Biggest bit is additional memory used for your re-compiled code. 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. Like reload scene, call test function etc or want to simply execute some code without |any instance created. do whatever you want to do without instance Static void OnScriptHotReloadNoInstance() do whatever you want to do with access to instance via 'this' When you need to set the stage to test your feature out. One-off custom code executions on Hot-Reload Iterate quickly on deployed Android APK / standalone windows build (exe). You can use same hot reload functionality in actual builds / on device. ![]() Hot-Reload in development build (on device) Thanks to anyone who got it on the store in the past, and if you're new and like it please be sure to tell about it to other devs! Simply leaving a star on github repo is huge help as well! I've decided to fully fully open source FSR and - it's available on Github Working around the limitations is just worth it. Just buy this stuff for any serious project. I was really chuffed to see FSR selling over 1000 copies on Asset Store in February - propelling it to #1 best-selling for a few days and keeping on first page for most of the month.įelt like I was underwater and that I can breathe again. Download latest release from Github, you can also get it on Asset Store (althoguh it may not be fully up to date).Iterate on whatever you're working on without reentering play mode over and over again.Īnd you don't have to adjust your code either, just import. Tool will automatically compile only what you've changed and immediately hot reload that into current play session. Iterate on code insanely fast without breaking play session.
0 Comments
Leave a Reply. |