[GH-ISSUE #302] [Issue]: Game mode crashes on open with React error #185 (GameSurface) #124

Closed
opened 2026-10-20 17:25:24 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @Pinkmoth419 on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/302

Originally assigned to: @SpicyMarinara on GitHub.

Summary

After updating to the latest version, game mode crashes immediately when opening any scenario. Chat mode works fine.

Expected behavior

Game mode loads the scenario normally.

Actual behavior

Black screen on load. Refreshing shows the app contents for a few seconds before going black again.

Steps to reproduce

Open Marinara
Select any scenario in game mode
App displays content briefly, then goes to a black screen

Environment

  • Marinara Engine version: 1.5.6
  • Install type: source i think? I did the git clone
  • OS + version: Chrome/Windows 11
  • Browser or app shell: both produce the same issue, have tried both

Logs, screenshots, or video

Uncaught Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Ni (vendor-react-DdKAOpHG.js:48:27648)
at hc (vendor-react-DdKAOpHG.js:48:27173)
at Bl (vendor-react-DdKAOpHG.js:48:59232)
at Mf (vendor-react-DdKAOpHG.js:48:58847)
at GameSurface-C0wKVf5S.js:13:7160
at GameSurface-C0wKVf5S.js:3:14908
at Gl (vendor-react-DdKAOpHG.js:48:92701)
at s1 (vendor-react-DdKAOpHG.js:48:107929)
at Ze (vendor-react-DdKAOpHG.js:48:107813)
at s1 (vendor-react-DdKAOpHG.js:48:108695)

Additional context

RP and Chat Mode are both fine, seems to just be a Game Mode issue.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Pinkmoth419 on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/302 Originally assigned to: @SpicyMarinara on GitHub. ## Summary After updating to the latest version, game mode crashes immediately when opening any scenario. Chat mode works fine. ## Expected behavior Game mode loads the scenario normally. ## Actual behavior Black screen on load. Refreshing shows the app contents for a few seconds before going black again. ## Steps to reproduce Open Marinara Select any scenario in game mode App displays content briefly, then goes to a black screen ## Environment - Marinara Engine version: 1.5.6 - Install type: source i think? I did the git clone - OS + version: Chrome/Windows 11 - Browser or app shell: both produce the same issue, have tried both ## Logs, screenshots, or video Uncaught Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at Ni (vendor-react-DdKAOpHG.js:48:27648) at hc (vendor-react-DdKAOpHG.js:48:27173) at Bl (vendor-react-DdKAOpHG.js:48:59232) at Mf (vendor-react-DdKAOpHG.js:48:58847) at GameSurface-C0wKVf5S.js:13:7160 at GameSurface-C0wKVf5S.js:3:14908 at Gl (vendor-react-DdKAOpHG.js:48:92701) at s1 (vendor-react-DdKAOpHG.js:48:107929) at Ze (vendor-react-DdKAOpHG.js:48:107813) at s1 (vendor-react-DdKAOpHG.js:48:108695) ## Additional context RP and Chat Mode are both fine, seems to just be a Game Mode issue. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:25:24 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Pinkmoth419 commented on GitHub (Apr 29, 2026):

Edit! I noticed the URL contains spa_refresh between the base URL and the chat/scenario ID when opening game mode. Manually removing the spa_refresh segment from the URL loads the scenario successfully.
This suggests the bug is in whatever handles the spa_refresh route flag and is like maybe triggering the infinite render loop in GameSurface rather than the scenario rendering itself being broken?

EDIT AGAIN: workaround no longer works, URL is now stuck at base and game mode is fully inaccessible

<!-- gh-comment-id:4340007692 --> @Pinkmoth419 commented on GitHub (Apr 29, 2026): Edit! I noticed the URL contains spa_refresh between the base URL and the chat/scenario ID when opening game mode. Manually removing the spa_refresh segment from the URL loads the scenario successfully. This suggests the bug is in whatever handles the spa_refresh route flag and is like maybe triggering the infinite render loop in GameSurface rather than the scenario rendering itself being broken? EDIT AGAIN: workaround no longer works, URL is now stuck at base and game mode is fully inaccessible
Author
Owner

@JaWetter commented on GitHub (Apr 29, 2026):

Commenting out this snippet worked for me as a temporary workaround. It stops the looping without breaking the GM mode.
github.com/Pasta-Devs/Marinara-Engine@93ddbb839f/packages/client/src/components/game/GameSurface.tsx (L1804-L1806)

<!-- gh-comment-id:4340133885 --> @JaWetter commented on GitHub (Apr 29, 2026): Commenting out this snippet worked for me as a temporary workaround. It stops the looping without breaking the GM mode. https://github.com/Pasta-Devs/Marinara-Engine/blob/93ddbb839f074b73349abac8017b9f3e334665f8/packages/client/src/components/game/GameSurface.tsx#L1804-L1806
Author
Owner

@LukaTheHero commented on GitHub (Apr 29, 2026):

have you tried ctrl+shift+R ? @Pinkmoth419

<!-- gh-comment-id:4340314198 --> @LukaTheHero commented on GitHub (Apr 29, 2026): have you tried ctrl+shift+R ? @Pinkmoth419
Author
Owner

@SpicyMarinara commented on GitHub (May 3, 2026):

v1.5.7.

<!-- gh-comment-id:4366263661 --> @SpicyMarinara commented on GitHub (May 3, 2026): v1.5.7.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#124
No description provided.