The process cannot access the file because it is being used by another process.


Hi guys. I'm having this error randomly when I switch from Rider to Unity when the autosave settings are on. I have to turn off autosave and manual save the files to avoid this error.
Can anyone help me. Thanks.
Please sign in to leave a comment.
Hello,
Could you please collect the logs the next time it happens and send them with a new issue on our tracker. This will help us to get a bit more information about your setup(Rider version, OS type) and also about the error. Thank you in advance!
I have the same problem ! Seem like the line 66 doing some bloody hell with all the iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii, but I ain`t have anything but a header declaring my fonction in the
code! Here is the function :
Seems like it had something to do with the hot reload !
Hello Boucher,
Thank you for contacting Rider support.
I suggest ensuring that you have no orphaned MSBuild/dotnet processes on your machine. Please close Rider and check in Task Manager or terminal if you have any suspicious dotnet processes. If there are such, terminate them and check if the issue persists.
If it doesn't help would you mind creating another thread via the Submit a request button and elaborate on your scenario? Why the IDEA is there and how it relates to the issue in Rider.
Have a nice day!