YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
24 stars 8 forks source link

In-Game: [HTML5] Webhost copy of game fails to load all texture pages on startup, gives net::ERR_HTTP2_PROTOCOL_ERROR #5537

Open gm-bug-reporter[bot] opened 6 months ago

gm-bug-reporter[bot] commented 6 months ago

Description

When a html5 build is uploaded to a website like itch.io, it always fails to load some of the texture pages.

in chrome the error is for example:

GET https://html-classic.itch.zone/html/10209493/game/game_texture_6.png net::ERR_HTTP2_PROTOCOL_ERROR 200 (OK)

I've tried everything - clearing cache (through the broom and via the menus), setting texture page groups, etc etc etc. It's impossible.

Steps To Reproduce

My texture pages are 2048x2048

There are 13 of them.

It works correctly when tested, but happens when uploaded to any website (itch.io, newgrounds, etc.)

Which version of GameMaker are you reporting this issue for?

IDE v2024.2.0.132 Runtime v2024.2.0.163

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

Windows 10.0.22631.0

dd4ff844-f6e3-4586-9418-8a94a7a2fcb9

L-Clouds commented 6 months ago

From a quick Google search for that error message, it appears to be an error originating from the server configuration (normally configured defensively against certain kinds of attacks), related to either how many files are being accessed simultaneously or how long the data transfer is taking: https://stackoverflow.com/questions/58215104/whats-the-neterr-http2-protocol-error-about

Obviously, the server configuration of sites like itch.io or newgrounds.com are out of our control.

It might be that GameMaker could implement something to be kinder to servers when loading, or it might be that your game is just too heavy - I don't know.