[GH-ISSUE #175] [Issue]: Game Mode: scene-wrap fail if more than ME (not the current game!) has more than 100 characters imported #62

Closed
opened 2026-10-20 17:24:40 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

I just installed ME and imported my characters from ST so I have a bunch. Tried Game Mode, and when the Scene Wrap runs, it try to send them all and fail.

Expected behavior

  • Just having characters imported shouldn't make game mode unable to work, especially if the characters aren't part of that game.

Actual behavior

Any time scene-wrap runs, it fails with this error:
[scene-wrap] Server 400 details: [
{
"path": "context.characterNames",
"message": "Array must contain at most 100 element(s)"
}
]

Steps to reproduce

  1. Import 100+ characters (from ST in my case)
  2. Start a new game in Game mode.
  3. First scene wrap will fail right away

Environment

  • Marinara Engine version:
  • Install type: Installer
  • OS + version: Windows 11
  • Browser or app shell: Firefox

Logs, screenshots, or video

[scene-wrap] Server 400 details: [
{
"path": "context.characterNames",
"message": "Array must contain at most 100 element(s)"
}
]

Additional context

I'm not sure why it's sending ALL characters, should probably only send active ones ?
I can confirm the scene wrap works if I put a breakpoint right after when "characterNames" is defined in the temporary GameSurface.js and use the console to make the array smaller.

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 @DinoMC on GitHub (Apr 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/175 Originally assigned to: @SpicyMarinara on GitHub. ## Summary I just installed ME and imported my characters from ST so I have a bunch. Tried Game Mode, and when the Scene Wrap runs, it try to send them all and fail. ## Expected behavior - Just having characters imported shouldn't make game mode unable to work, especially if the characters aren't part of that game. ## Actual behavior Any time scene-wrap runs, it fails with this error: [scene-wrap] Server 400 details: [ { "path": "context.characterNames", "message": "Array must contain at most 100 element(s)" } ] ## Steps to reproduce 1. Import 100+ characters (from ST in my case) 2. Start a new game in Game mode. 3. First scene wrap will fail right away ## Environment - Marinara Engine version: - Install type: Installer - OS + version: Windows 11 - Browser or app shell: Firefox ## Logs, screenshots, or video [scene-wrap] Server 400 details: [ { "path": "context.characterNames", "message": "Array must contain at most 100 element(s)" } ] ## Additional context I'm not sure why it's sending ALL characters, should probably only send active ones ? I can confirm the scene wrap works if I put a breakpoint right after when "characterNames" is defined in the temporary GameSurface.js and use the console to make the array smaller. ## 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:24:40 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Apr 23, 2026):

Fixed in v1.5.5.

<!-- gh-comment-id:4304623380 --> @SpicyMarinara commented on GitHub (Apr 23, 2026): Fixed in v1.5.5.
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#62
No description provided.