I started trying 2019.3.0b6 for development, and I’m getting a lot of “Moving file failed” issue.
This is where Unity comes up with a dialog with [Try again] [Force quit] options.
I haven’t seen this since early 2018 builds…
Looks like this, but it’s always a different file
Start importing Assets/Scripts/Game/MetaGame/MetaGame.cs using Guid(51f33f5d83cd72345a89b3b450e51578) Importer(-1,)
Force Quit pressed for Moving file failed: Moving E:/Work/Project.2019.3/Temp/UnityTempFile-eb5aba1f7aca71c438ea018622a3d06a to E:/Work/Project.2019.3/Library/TempArtifacts/Primary/51f33f5d83cd72345a89b3b450e51578: The system cannot find the path specified.
Last time it was ProjectSettings/ProjectSettings.asset …
Does anyone see this, or is it just me or our project?
I see this pretty much every time i trigger a build, that something can’t be moved from staging to the output directory. I thought this was a local problem on my end, but perhaps it’s not. Then I can just press “Retry” in the error dialog and it works.
I usually get those prompts when some Windows Explorer window in the background points to one of the /Temp folders ( essentially where the temporary output/staging happens )
For me, it was either that, or the Remove Empty Folders option under Assets menu. I both disabled that and quit SourceTree, and then it was fine. (I was trying to use “MeshBaker” asset, just in case somebody searches it up)
Look for multiple instances of UnityHub and or Unity Editor running in the background. That fixed it for me. For some reason there were 5 Unity Hubs running