-
Notifications
You must be signed in to change notification settings - Fork 49
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
Package manager startup errors on 2019.1.8f1 on Windows 10 #22
Comments
I can't reproduce this one, but it may be fixed with #23. |
I also didn't have this problem when I tried installing on my Mac, so could it be a Windows-specific problem? I know Windows is a lot more strict with locking files and preventing writes to files while they're being read by other processes, could it be something to do with that? |
This might be specific to your system. Can you provide more details?
|
I'm running Windows 10 (1803). There isn't anything unusual I can think of about the setup, no symlinks or drive differences or anything odd. I was able to reproduce it with a new project just now, here's the manifest.json: https://gist.github.com/gpoole/691e900dc4a2b954b1c4c3cc47ea062c If it helps I can also push the whole project up as a repo? I had more of a poke around and found:
I wondered if it might be something to do with the readonly flag, so tried commenting out just the code in the installer that restores the readonly flag after modifying the files (e.g. I commented https://github.com/thinksquirrel/fluviofx/blob/master/Install/FluvioFXInstall.cs#L338) and it seems to be fine restarting after that. |
Hm, this is likely the case. It could be that marking that as read-only again causes problems on some systems. I don't think there is any problem with keeping the file writable, to be honest. So I'll just remove that line. Thanks for troubleshooting this! |
I've just made and pushed this update. Can you confirm that the PR works as-is? If so I'll go ahead and merge. |
Great, thanks for the fix, yep it's not showing the error anymore when I restart. Very strange, it doesn't seem like setting and unsetting the flag should have mattered. |
Fixed by #23 |
When I'm opening a project in 2019.1.8f1 with FluvioFX installed I'm often getting
EPERM: operation not permitted
errors related toVFXCodeGenerator.cs
. If I select quit and reopen Unity a few times it'll eventually work.The text was updated successfully, but these errors were encountered: