YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
15 stars 7 forks source link

Issue with GameMaker Studio 2: Rollback Multiplayer Error "Memory access out of bounds" #4853

Open MeowiZee opened 4 months ago

MeowiZee commented 4 months ago

Description

I have been having a huge problem with making my rollback multiplayer game, and I believe it is something on your end.

Everything works fine until you try to play the game online on gx.games, there if you enter the room with the oGame (object that manages multiplayer stuff) the game crashes and you get this screen that says "Error, Memory access out of bounds". I have quite a lot of experience with making rollback multiplayer games because I've made a few, but I've never seen anything like this before, and based on my testing and feedback from others on Reddit and the GMC forums, I've come to believe that this may be a problem on your end. First of all, others in the community said that they had the same problem, and all of the testing I did led me to believe it was something on your end too (I even went as far as to make my game in older versions of gms2, but that did nothing). Please will someone look into this? I've been so excited to make this game but then this error comes up.

Again, I'm not 100% sure yet if this is just something for me and a few other people in the community, but if everyone is getting this issue, then it is a HUGE PROBLEM that needs fixing ASAP.

(EDIT: I've seen that even more people are getting this problem, so I think it isn't just for me)

Somnium V.2.zip

Thanks!

Expected Change

No response

Steps To Reproduce

  1. Start GameMaker
  2. Create a new project
  3. Add the built-in rollback multiplayer code in a game manager object and define an object to be the players
  4. Upload the game to gx.games and launch it, once you enter the room with the game manager object, you'll see the issue

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

2023.11.1 (Monthly)

Which platform(s) are you seeing the problem on?

Windows

Contact Us Package Attached?

Sample Project Added?

Strekerud commented 2 months ago

I'm also experiencing the same error, making deploying my multiplayer game to GX.games seemingly impossible at the moment.

Everything works great locally, but at soon as we set: rollback_create_game(2, false) and set GX.games as target it fails.

Uncaught RuntimeError: memory access out of bounds at runner.wasm:0x32e17 at runner.wasm:0x17b4c4 at runner.wasm:0xa48e at runner.wasm:0x28e235 at runner.wasm:0x2935ef at runner.wasm:0x31f9e0 at runner.wasm:0x174555 at c (runner.js:272:432)