Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Automatically refresh assets in Unity" doesn't work on macOS #2361

Closed
markusheiss opened this issue Oct 9, 2022 · 9 comments
Closed

"Automatically refresh assets in Unity" doesn't work on macOS #2361

markusheiss opened this issue Oct 9, 2022 · 9 comments
Milestone

Comments

@markusheiss
Copy link

When I save a file in Rider, the auto refresh in Unity doesn't work automatically. I have to switch to the unity window or press the "Refresh unity assets" button in Rider to refresh the assets. The option for auto refresh is checked in Rider. I have a MacBook Pro M1. Does someone has the same issue?

Version I use:
Unity: 2021.3.11f1 Apple Silicon
Rider: 2022.2.3

Screenshot 2022-10-09 at 10 30 26

@van800
Copy link
Contributor

van800 commented Oct 9, 2022

How do you save a file?

@markusheiss
Copy link
Author

I tested with ⌘-s and via menu File->Save All. nothing works

@van800
Copy link
Contributor

van800 commented Oct 9, 2022

Try to check that external Editor in Unuty is set to the correct Rider version.

@markusheiss
Copy link
Author

external editor is set to Rider 2022.2.3 in Unity, which is my editor version

@van800
Copy link
Contributor

van800 commented Oct 10, 2022

I have just checked Refresh gets called for me with that Unity version. Unfortunately I don't have M1 at hand.
Please do the following:

  1. switch the logging in Unity Preferences - Rider to Verbose, restart Unity
  2. change the script in Rider and call Save All.
    BTW do you see the progress like that in Rider
    image
    Attach the log here. Thank you!

@markusheiss
Copy link
Author

EditorPlugin.9544.log

yes, I see the progress bar. At 14:26:18.652 in the log file it says AutoRefresh is disabled via Unity settings, but in the settings it says it is enabled. Is there another Auto refresh setting?

Screenshot 2022-10-10 at 14 29 21

@van800
Copy link
Contributor

van800 commented Oct 10, 2022

It says, that you have disable the AutoRefresh in Unity settings
RiderPlugin | :1 | AutoRefresh is disabled via Unity settings.

Let me check. It looks different to me.
image

@markusheiss
Copy link
Author

my options in "General" look different to yours.

Screenshot 2022-10-10 at 16 19 13

Anyway, I got it working, but I can't really tell how. First I installed Visual Studio. It didn't work there either. Then I installed the 2020.3.40f1 Intel version of Unity. There the auto refresh was working out of the box. Then I switched back to the silicon version and it was also working there, without any changes. I then deleted the intel version and restarted the pc and it's working fine now, don't know what the problem was.

van800 added a commit that referenced this issue Oct 11, 2022
@van800
Copy link
Contributor

van800 commented Oct 11, 2022

Thank you for reporting, found out there were some relatively fresh changes on Unity side, which we were not expecting. The fix is on a way to the next 2022.3 EAP Rider build.

@van800 van800 closed this as completed Oct 11, 2022
mfilippov pushed a commit that referenced this issue Oct 12, 2022
@citizenmatt citizenmatt added this to the Rider 2022.3 milestone Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants