Trouble getting "Automatically refresh assets in Unity" to work Follow
I have this setting enabled in Rider's Unity Engine settings page, but when I save a file in Rider it does not automatically refresh in Unity. The refresh only occurs when I Alt + Tab over to Unity to make it the active application.
When I set my IDE to Visual Studio the background asset refreshing happens as expected.
In Unity, I have Asset Pipeline >> Auto Refresh enabled.
Please sign in to leave a comment.
I'm hoping somebody can help me with this. It's the only thing keeping me from switching to Rider at the moment.
could you please check if this can still be reproduced with the latest Rider EAP build? You can find the details here. Similar behavior was fixed in RIDER-62051.
Thanks, Ivan. It's still happening on the latest EAP build.
I have verified that the "Automatically refresh assets in Unity" option is checked.
The assets refresh when I Command+Tab over to Unity, but I would like them to begin refreshing in the background as soon as I make a save in Rider, which is how it works with Visual Studio.
I've attached my relevant Unity settings if that helps.
everything appears to be configured correctly according to the screenshots. Could you please clarify if you have explicitly selected Rider EAP8 in the Unity Settings | External Tools | External Script Editors menu?
If EAP8 was indeed selected and displayed the same behavior, then we would need some logs to investigate this further.
Thank you in advance!
If you're not comfortable with sharing your log files here, you can submit a ticket by clicking Submit a request from this page.
I've attached the log files here: https://www.dropbox.com/sh/1rvads5rbnu35av/AACaIXk_ELu56ZhE7sToECeEa?dl=0
I saved a script change at 11:01 and the script did not refresh until I shifted focus back to Unity.
One thing I noticed is that the automatic refresh happens when I shift focus to *any* app other than Rider. For example, if I make a script change in Rider, save, then CMD+TAB over to Chrome, the autosave occurs in Unity.
So it looks like the auto refresh is triggered when Rider loses focus regardless of which app the user is switching to.
Thank you for the logs, I have created a corresponding record on our bug tracker: RIDER-91220. The issue is handled by a dedicated developer there. Please upvote it and click on Watch to monitor the progress of the issue.
Let me know if you have other questions. Have a good day!
Seanpramsey Please see my comment in https://youtrack.jetbrains.com/issue/RIDER-91220/Unity-assets-are-not-auto-refreshed-on-saving-a-file-in-Rider#focus=Comments-27-7045632.0-0
I am sorry for the delay.