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: "Unhandled exception" caused Playnite to crash opon upgrading PolyMC. #5

Open
GMRobo opened this issue Sep 19, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@GMRobo
Copy link
Contributor

GMRobo commented Sep 19, 2022

Admittedly this was discovered on user error and by complete accident when I was upgrading from PolyMC 1.3.1 to 1.4.2, And I hadn't copied the required files over (i.e polymc.cfg/multimc.cfg) and once they were copied over (and restarted playnite) it ran like a charm

I figured i might as well report it in case anyone else had run into the same crash.

(Playnite log file)
|ERROR|PlayniteApplication:Unhandled exception occurred. System.IO.FileNotFoundException: Could not find file 'C:\Programs\Minecraft (poly MC)PolyMC-Windows-Portable-1.4.2\polymc.cfg'. File name: 'C:\Programs\Minecraft (poly MC)\PolyMC-Windows-Portable-1.4.2\polymc.cfg'

@uwx
Copy link
Owner

uwx commented Sep 19, 2022

Yeah, this probably should have a better error message.

What were you doing in Playnite when the exception happened?

@GMRobo
Copy link
Contributor Author

GMRobo commented Sep 19, 2022

Pointing the extension to poly's new location (1.3.1 vs 1.4.2) and I hadn't copied the required files over which caused it to crash as the .cfg file isn't generated till first run. Once playnite was restarted and the files copied over, it worked fine. Complete user error on my end. But I figured i'd report it just in case something could be done.

@uwx
Copy link
Owner

uwx commented Sep 19, 2022

Was the error on launch, or while Playnite was already running, or when starting a game?

@GMRobo
Copy link
Contributor Author

GMRobo commented Sep 19, 2022

While running, saving the settings of the new location.

@uwx
Copy link
Owner

uwx commented Sep 19, 2022

Thanks, will look into it.

@uwx uwx added the bug Something isn't working label Oct 29, 2023
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
None yet
Development

No branches or pull requests

2 participants