YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
11 stars 4 forks source link

Frequent stuttering in IDE and testing game in 2024.4 #5763

Open backYard321 opened 1 week ago

backYard321 commented 1 week ago

Description

When using gamemaker and and testing my game using "run", gamemaker will frequently stutter, resulting in dropped keystrokes and laggy gameplay (despite the profiler not showing drops in performance). It's bad enough that any project I try running is un-testable in this state. Exporting my game as a .exe and playing that file does not show these issues.

Downgrading to 2024.2 immediately solves this, leading me to believe it's related to the new update.

Which version of GameMaker are you reporting this issue for?

IDE v2024.4.0.137 Runtime v2024.4.0.168

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

Windows 10.0.19045.0

3611fe56-69a1-4c82-904c-00d6a02dbc64

stuckie commented 1 week ago

You have various errors in your ui.log about a custom theme:

[10:20:11:421(d2a7)] Failed to load theme at 'C:\ProgramData/GameMakerStudio2\Skins/Dracula\Themes\default_theme.json', with exception 'After parsing a value an unexpected character was encountered: l. Path 'ColourPalette.ins_table_stripe', line 17, position 16.' [10:20:11:422(d2a7)] #################################### [10:20:11:422(d2a7)] Break in LoadTheme (ThemeManager:102) [10:20:11:422(d2a7)] #################################### [10:20:12:134(d2a7)] File exception 'Invalid character after parsing property name. Expected ':' but got: [. Path 'ins_expanded_icon.height', line 879, position 26.' [10:20:12:135(d2a7)] #################################### [10:20:12:135(d2a7)] Break in StyleLoadError (StyleManager:273) [10:20:12:136(d2a7)] Reason: StyleManager: Style error "C:\ProgramData\GameMakerStudio2\Skins\Dracula\Styles\styles_inspector.json": Invalid character after parsing property name. Expected ':' but got: [. Path 'ins_expanded_icon.height', line 879, position 26. [10:20:12:136(d2a7)] ####################################

I cannot reproduce any slow down here on the standard themes, could you verify that those work fine?

backYard321 commented 1 week ago

You have various errors in your ui.log about a custom theme:

[10:20:11:421(d2a7)] Failed to load theme at 'C:\ProgramData/GameMakerStudio2\Skins/Dracula\Themes\default_theme.json', with exception 'After parsing a value an unexpected character was encountered: l. Path 'ColourPalette.ins_table_stripe', line 17, position 16.' [10:20:11:422(d2a7)] #################################### [10:20:11:422(d2a7)] Break in LoadTheme (ThemeManager:102) [10:20:11:422(d2a7)] #################################### [10:20:12:134(d2a7)] File exception 'Invalid character after parsing property name. Expected ':' but got: [. Path 'ins_expanded_icon.height', line 879, position 26.' [10:20:12:135(d2a7)] #################################### [10:20:12:135(d2a7)] Break in StyleLoadError (StyleManager:273) [10:20:12:136(d2a7)] Reason: StyleManager: Style error "C:\ProgramData\GameMakerStudio2\Skins\Dracula\Styles\styles_inspector.json": Invalid character after parsing property name. Expected ':' but got: [. Path 'ins_expanded_icon.height', line 879, position 26. [10:20:12:136(d2a7)] ####################################

I cannot reproduce any slow down here on the standard themes, could you verify that those work fine?

Still getting the same issues using both the standard dark and light themes, unfortunately.

I'm checking a couple things - it miiight have to do with having too many assets/workspaces open at the same time? Closing everything, updating to 2024.4, and re-launching Gamemaker seemed to eliminate the stuttering when testing my game, but it returned after a while. When I created a new workspace + "close all but this", the stuttering stopped when I ran the game immediately after that.

Edit: the "close all but this" method isn't foolproof, but it does seem like projects can START or BECOME stuttery, and there's something you can close to correct this. Not sure if it's related to closing project tool either.