automatically regenerate units?

I want to double check the following, just to be sure I am not missing an amazing functionality.

Do I need to manually regenerate the units every time I create a new c# script/method for it to appear in the fuzzy finder?

Thanks in advance.

If it’s a completely new script - yes, you have to manually regen all nodes.

If it’s a modification to an existing script, you could enable Automatic Unit Update in Project Settings/Visual Scripting. This will auto refresh already added types to reflect any changes made after domain reload. It can be a double edged sword, however, as it will happen on every single domain reload and incurs extra waiting time even when you don’t want to Update existing types.

I’d like to petition Unity to re-add the manual Update Unit Options button Bolt had previously, no idea why it was removed in the first place. I guess because all the stuff has moved from Tools/Bolt to Project Settings but there’s enough space there to add one more button since Update Unit Options is way faster than Regenerate Unit Options.

Thanks PanthenEye.

Am I right to assume I can trigger the update you mentioned that way?

UnitBase.Update();

That should be it, yeah.

Cool, thanks.