mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #664] [Issue]: Custom HUD widget game setup can drop widgets or block Start Game #314
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#314
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha1latte on GitHub (May 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/664
Originally assigned to: @Romuromylus on GitHub.
Summary
Starting a game with Custom HUD Widgets enabled can fail in two related ways depending on the generated game setup blueprint: invalid generated blueprints silently drop HUD widgets, while valid generated blueprints can make the Start Game button appear to do nothing because the widget prep modal is not rendered.
Reporter/source: Discord report from
jasonwocky, May 10, 2026.Expected behavior
Game setup with Custom HUD Widgets enabled should reliably proceed into HUD widget preparation/startup. If the generated blueprint does not satisfy the schema, the app should either recover, constrain generation enough to avoid invalid blueprints, or expose the invalid JSON plus
parsed.error.issuesso the user can fix it manually.Actual behavior
Two related failure modes were reported:
blueprintSchema.safeParse()ingame.routes.ts. When parsing fails, the Start Game button still works, but no HUD widgets appear and the rest of the blueprint does not seem to continue through the flow.handleStartNewSessioninGameSurface.tsx, where it callssetPrepareWidgetsOpenand returns, apparently intending to openGameWidgetSessionPrepModal. The modal is not present because the render conditional around line 7131,sessionStatus === "ready" && !introPresented, evaluates true and takes the render path without the modal.Reported schema failures include array length constraints not being followed for
pressureClocks,factions,questSeeds, andencounterPrinciples, plus max constraints such as a pressure clock step count higher than 12. The reporter noted thatgm-prompts.tssays "Prefer" 0-1 pressure clock, 0-2 factions, 0-3 quest seeds, and 0-2 encounter principles, but the prompt language may be too soft and the pressure clock max of 12 may not be specified to the model.Steps to reproduce
mainat commitdcb2f64d4f1a5bdc73ef863f70f9857488325bb8.pressureClocks,factions,questSeeds, orencounterPrinciples, or a pressure clock step count above 12.Marinara Engine version
Latest
main, commitdcb2f64d4f1a5bdc73ef863f70f9857488325bb8.Install type
Source. Reporter originally installed with the default Windows method, then updated by pulling latest code with Git.
OS + version
Windows 11.
Browser or app shell
Chrome.
Screenshots or video
Not provided. The report came from Discord text with code-path details, not uploadable screenshot/video evidence.
Logs
Not provided.
Reporter inspected
parsed.error.issuesfromblueprintSchema.safeParse()and observed failures involving array length constraints and max constraints, including a pressure clock step count higher than 12.Additional context
The reporter suggested either strengthening setup prompts so generated JSON adheres to the blueprint constraints, or presenting the bad JSON plus
parsed.error.issuesso users can manually correct the generation.Relevant code paths mentioned in the report:
game.routes.ts, around line 2866:blueprintSchema.safeParse()gm-prompts.ts: setup prompt constraint wordingGameSurface.tsx,handleStartNewSessionGameSurface.tsx, around line 7131:sessionStatus === "ready" && !introPresentedGameWidgetSessionPrepModalTemplate check