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

Crash removing runtime/compiled folder #547

Open
ASpoonPlaysGames opened this issue Sep 12, 2023 · 4 comments
Open

Crash removing runtime/compiled folder #547

ASpoonPlaysGames opened this issue Sep 12, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@ASpoonPlaysGames
Copy link
Contributor

Crash log from user in Discord:

nslog2023-09-12_21-48-53.txt

Seems to be caused by this code?

fs::remove_all(GetCompiledAssetsPath());

Solution to the problem was to delete the folder manually, although this is a temporary fix I would assume.

@ASpoonPlaysGames ASpoonPlaysGames added the bug Something isn't working label Sep 12, 2023
@uniboi
Copy link
Contributor

uniboi commented Sep 12, 2023

"remove_all: Zugriff verweigert: "R2Northstar\runtime\compiled"

The launcher doesn't have the necessary permissions to delete the folder for some reason

@ASpoonPlaysGames
Copy link
Contributor Author

The launcher doesn't have the necessary permissions to delete the folder for some reason

That seems to be the case, yeah. We definitely shouldn't crash like this though, should probably display an error dialog or something explaining the issue? (Or we could try and handle the exception nicely but I doubt that that is possible given the error)

@uniboi
Copy link
Contributor

uniboi commented Sep 12, 2023

Yeah a windows message box would probably be enough.
How does this even happen though

@ASpoonPlaysGames
Copy link
Contributor Author

I honestly have no idea. Perhaps just a read-only folder thing for some reason? perhaps they installed the game into a read-only folder and then marked most of it as not read-only, but missed this folder somehow? idk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants