[GH-ISSUE #8380] Shared-session game setup crashes when searching characters #8333

Closed
opened 2026-11-07 16:42:17 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8380

Originally assigned to: @kolacheee on GitHub.

In a shared multiplayer session, the host's game setup wizard lists characters with no names, and typing in the Game Master or party character search crashes the wizard (Cannot read properties of undefined (reading 'toLowerCase')).

Cause: PreparedMultiplayerGameSetup passes the raw library rows from useCharacters() ({ id, data }, the card as JSON) straight to GameSetupWizard, which expects { id, name, comment, avatarUrl, avatarCrop }. The chat's own game wizard (ChatArea) maps the rows through parseCharacterDisplayData first.

Steps: start a shared session, open the host's new-game setup, type a letter in the character search.

Originally created by @kolacheee on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8380 Originally assigned to: @kolacheee on GitHub. In a shared multiplayer session, the host's game setup wizard lists characters with no names, and typing in the Game Master or party character search crashes the wizard (`Cannot read properties of undefined (reading 'toLowerCase')`). Cause: `PreparedMultiplayerGameSetup` passes the raw library rows from `useCharacters()` (`{ id, data }`, the card as JSON) straight to `GameSetupWizard`, which expects `{ id, name, comment, avatarUrl, avatarCrop }`. The chat's own game wizard (ChatArea) maps the rows through `parseCharacterDisplayData` first. Steps: start a shared session, open the host's new-game setup, type a letter in the character search.
bsakaguchi 2026-11-07 16:42:17 +07:00
  • closed this issue
  • added the
    in-pr
    label
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#8333
No description provided.