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

Borderless Minecraft Crashes when MultiMC Instance Launched #31

Closed
swishkin opened this issue Jan 28, 2022 · 18 comments · Fixed by #33
Closed

Borderless Minecraft Crashes when MultiMC Instance Launched #31

swishkin opened this issue Jan 28, 2022 · 18 comments · Fixed by #33
Labels
bug Something isn't working

Comments

@swishkin
Copy link

The app (1.3.1) closes within a few seconds of launching my 1.17.1 instance in MultiMC, if "Automatic Borderless" is selected. I'd like for Borderless Minecraft to work automatically, but returning to manual mode prevents these crashes and allows successful borderless usage.

Is there anything I can provide (log, etc) to help debugging this?

@Mr-Technician
Copy link
Owner

That's a strange bug... If it provided some sort of crash report I would like to see it. @swishkin

@Mr-Technician Mr-Technician added the bug Something isn't working label Jan 28, 2022
@swishkin
Copy link
Author

It closed without warning or any log/report that I saw; is there somewhere it'd put something like that?

@Mr-Technician
Copy link
Owner

I get a popup like this if I manually throw an exception:
image

Since you don't get one I'm wondering if an exception isn't actually being thrown, but I'm not sure why borderless minecraft would crash otherwise.

How does your MultiMC instance of Minecraft show up in the task manager?

@swishkin
Copy link
Author

Yes, it shows up as shown below:

image

@Mr-Technician
Copy link
Owner

Can you expand the Java process? Sorry for all the steps, I should have asked for that before. 😅

@swishkin
Copy link
Author

Here you go!

image

@cornerkey
Copy link

I Have exactly the same issue when automatic fullscreen is selected through multi mc

@cornerkey
Copy link

The path is different for multimc instances idk if that makes a difference

@Mr-Technician
Copy link
Owner

I'll need to install MultiMC and test with it so I can see what's going on...

I assume you don't get a crash report? @cornerkey

@cornerkey
Copy link

@Mr-Technician No i dont get a crash report it just straight up closes

@cornerkey
Copy link

it works if use normal launcher but i use multi mc because i speedrun and its easier to launch and maintain different instances

@Mr-Technician
Copy link
Owner

Ok, I will test with MultiMC if I get the chance. :)

@cornerkey
Copy link

ty u can ask me if u need assistance in any way

@Mr-Technician
Copy link
Owner

ty u can ask me if u need assistance in any way

If you're feeling adventurous you can download the source code, run borderless minecraft from there, and see if an error comes up. :)

That requires Visual Studio though.

@Mr-Technician
Copy link
Owner

I've tracked down the bug. MultiMC does something weird that causes Borderless Minecraft to detect a java process that no longer exists, which throws an exception. I've added code to prevent this but need to debug some other odd behavior with automatic borderless before releasing it.

@Mr-Technician
Copy link
Owner

The other auto borderless issues appear to be resolved. I will clean the changes up tomorrow and release an update to fix this issue. 🚀

@cornerkey
Copy link

Thank you so much you were extremely helpful and you responded so quick, im really impressed.

@swishkin
Copy link
Author

swishkin commented Feb 5, 2022

I really appreciate you looking into this and debugging it! I've switched to GDLauncher, and while it doesn't crash, it seems like it doesn't automatically borderless either. :/

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

Successfully merging a pull request may close this issue.

3 participants