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

Preferences: GM crash on startup if any "Paths" field was left blank and saved in the last IDE session should block allowing a blank path #5488

Closed
gm-bug-reporter bot opened this issue Apr 14, 2024 · 2 comments
Assignees
Labels
ide-bug Bugs with the GameMaker IDE
Milestone

Comments

@gm-bug-reporter
Copy link

Description

Crash on opening IDE if empty field was left in the settings
If a blank field is left in the path settings, the IDE will no longer open, but will crash on startup.
I guess if the field was left blank, there should either be a dialog box telling you to make changes, or the default option should be set.

Steps To Reproduce

Make changes to the Paths settings, leaving a blank field. Save, exit GM, try to start it again. After loading the IDE, it crashes immediately.

Which version of GameMaker are you reporting this issue for?

IDE v2024.400.0.532 Runtime v2024.400.0.551

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

237559cd-c202-44d8-a5be-cb9b2b98a696

@gm-bug-reporter gm-bug-reporter bot added the ide-bug Bugs with the GameMaker IDE label Apr 14, 2024
@stuckie stuckie self-assigned this Apr 15, 2024
@stuckie stuckie added this to the 2024.4 milestone Apr 15, 2024
@stuckie stuckie closed this as completed Apr 16, 2024
@stuckie
Copy link

stuckie commented Apr 16, 2024

This fix will now ensure you cannot put a blank path in, and it'll revert it back.
It'll also detect a similar thing in the preferences on start-up, and reset to the default if need be.
This should ensure that the IDE cannot get into a state where it cannot start up due to a blank/corrupted path.

@mgeddesGM
Copy link

verified as of IDE v2024.400.0.542 Runtime v2024.400.0.561

@YYDan YYDan changed the title Crash on opening IDE if empty field was left in the settings Preferences: GM crash on startup if any "Paths" field was left blank and saved in the last IDE session should block allowing a blank path Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide-bug Bugs with the GameMaker IDE
Projects
Status: Verified
Development

No branches or pull requests

2 participants