FastScriptReload icon indicating copy to clipboard operation
FastScriptReload copied to clipboard

FSR can lock editor if started when domain reload in progress

Open handzlikchris opened this issue 2 years ago • 3 comments

Needs confirmation.

File watchers are triggered outside of main thread and potentially code could run even if Unity is doing main reload?

Not sure why that'd lock reloading.

There are some settings in code that'll use LockAssemblyReload - maybe that somehow could contribute?

handzlikchris avatar Jul 24 '23 14:07 handzlikchris

Noticed that a couple of times as well. After doing a pull on the project or switching branches, there's a high chance of getting locked while refreshing it.

brunomikoski avatar Oct 23 '23 14:10 brunomikoski

Thanks, I'll check it out. I'm assuming you have in-editor reload turned on?

handzlikchris avatar Oct 23 '23 14:10 handzlikchris

Nop! Its when I trigger with Ctrl+R gets locked on the Updating Packages popup, I will try to get an Editor log next time!

brunomikoski avatar Oct 23 '23 15:10 brunomikoski