[GH-ISSUE #5368] [Issue]: Game Mode displays generated text out of order during segment generation #2971

Closed
opened 2026-10-21 05:58:27 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5368

Originally assigned to: @SpicyMarinara on GitHub.

Summary

While The Game Master is writing the next segment in Game Mode, a generated line appears before generation finishes. The same line is displayed again later in the correct order.

Expected behavior

The current scene should remain unchanged until generation finishes, and generated responses should appear once in the correct order.

Actual behavior

A generated line appears early while the next scene is still being generated, approximately 25 seconds into the recording. The same response appears again in the correct order at approximately 53 seconds.

Steps to reproduce

  1. Open a game in Game Mode.
  2. Have The Game Master begin writing the next segment.
  3. Observe the scene while generation is still in progress.
  4. Check whether a generated line appears early and then appears again after generation finishes.

Environment

  • Marinara Engine version: 2.4.4 (build 2.4.4+c441b983d34c, commit c441b983d3)
  • Install type: Not provided
  • OS + version: Server: Windows 10.0.26200 (x64); Client: Windows 10.0
  • Browser or app shell: Firefox 154.0 (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:154.0) Gecko/20100101 Firefox/154.0)

Logs, screenshots, or video

Video: https://cdn.discordapp.com/attachments/1540442891124473937/1540442891619672144/Recording_2026-08-21_122026.mp4?ex=6a89f8bd&is=6a88a73d&hm=f698b3486d02495b201e85d39a463c463f657f142a6db4dbd3068463cff6d54d

Additional context

Reported on the latest staging build as of a couple of hours before the report and also reproduced on stable. Active connection: Gemma 26b Non Thinking; provider: custom; model: koboldcpp/Gemma4-26B-A4B-QAT-Uncensored-HauhauCS-Balanced-Q4_K_M.

Discord thread: Game mode gives spoilers while writing next segment
Discord thread link: https://discord.com/channels/1417099416812392641/1540442891124473937
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-08-21T19:30:05.289Z] Das: In Game Mode while The Game Master is writing the next segment, it shows a generated line out of order. In the attached video you can see at 25 seconds it is still generating the scene but a response shows up early. The exact same response shows up again in correct order at 53 seconds.

Currently on latest staging as of a couple hours ago (also happened on stable).

Marinara Engine diagnostics
Version: 2.4.4
Build: 2.4.4+c441b983d34c
Commit: c441b983d34c
Server OS: Windows 10.0.26200 (x64)
Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:154.0) Gecko/20100101 Firefox/154.0
GPU: ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar
Active connection: Gemma 26b Non Thinking
Connection provider: custom
LLM model: koboldcpp/Gemma4-26B-A4B-QAT-Uncensored-HauhauCS-Balanced-Q4_K_M
[attached file: Recording_2026-08-21_122026.mp4 — https://cdn.discordapp.com/attachments/1540442891124473937/1540442891619672144/Recording_2026-08-21_122026.mp4?ex=6a89f8bd&is=6a88a73d&hm=f698b3486d02495b201e85d39a463c463f657f142a6db4dbd3068463cff6d54d&]
[Discord message: https://discord.com/channels/1417099416812392641/1540442891124473937/1540442891124473937]

[2026-08-21T19:30:06.734Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1540442891124473937/1540442897185509487]

[2026-08-21T20:39:11.741Z] Marinara: Huh, weird. Yeah, it should not change anything until the generation finishes.
[Discord message: https://discord.com/channels/1417099416812392641/1540442891124473937/1540460282604687441]

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 @SpicyMarinara on GitHub (Aug 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5368 Originally assigned to: @SpicyMarinara on GitHub. ## Summary While The Game Master is writing the next segment in Game Mode, a generated line appears before generation finishes. The same line is displayed again later in the correct order. ## Expected behavior The current scene should remain unchanged until generation finishes, and generated responses should appear once in the correct order. ## Actual behavior A generated line appears early while the next scene is still being generated, approximately 25 seconds into the recording. The same response appears again in the correct order at approximately 53 seconds. ## Steps to reproduce 1. Open a game in Game Mode. 2. Have The Game Master begin writing the next segment. 3. Observe the scene while generation is still in progress. 4. Check whether a generated line appears early and then appears again after generation finishes. ## Environment - Marinara Engine version: 2.4.4 (build 2.4.4+c441b983d34c, commit c441b983d34c) - Install type: Not provided - OS + version: Server: Windows 10.0.26200 (x64); Client: Windows 10.0 - Browser or app shell: Firefox 154.0 (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:154.0) Gecko/20100101 Firefox/154.0) ## Logs, screenshots, or video Video: https://cdn.discordapp.com/attachments/1540442891124473937/1540442891619672144/Recording_2026-08-21_122026.mp4?ex=6a89f8bd&is=6a88a73d&hm=f698b3486d02495b201e85d39a463c463f657f142a6db4dbd3068463cff6d54d ## Additional context Reported on the latest staging build as of a couple of hours before the report and also reproduced on stable. Active connection: Gemma 26b Non Thinking; provider: custom; model: koboldcpp/Gemma4-26B-A4B-QAT-Uncensored-HauhauCS-Balanced-Q4_K_M. Discord thread: Game mode gives spoilers while writing next segment Discord thread link: https://discord.com/channels/1417099416812392641/1540442891124473937 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-08-21T19:30:05.289Z] Das: In Game Mode while The Game Master is writing the next segment, it shows a generated line out of order. In the attached video you can see at 25 seconds it is still generating the scene but a response shows up early. The exact same response shows up again in correct order at 53 seconds. Currently on latest staging as of a couple hours ago (also happened on stable). Marinara Engine diagnostics Version: 2.4.4 Build: 2.4.4+c441b983d34c Commit: c441b983d34c Server OS: Windows 10.0.26200 (x64) Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:154.0) Gecko/20100101 Firefox/154.0 GPU: ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0), or similar Active connection: Gemma 26b Non Thinking Connection provider: custom LLM model: koboldcpp/Gemma4-26B-A4B-QAT-Uncensored-HauhauCS-Balanced-Q4_K_M [attached file: Recording_2026-08-21_122026.mp4 — https://cdn.discordapp.com/attachments/1540442891124473937/1540442891619672144/Recording_2026-08-21_122026.mp4?ex=6a89f8bd&is=6a88a73d&hm=f698b3486d02495b201e85d39a463c463f657f142a6db4dbd3068463cff6d54d&] [Discord message: https://discord.com/channels/1417099416812392641/1540442891124473937/1540442891124473937] [2026-08-21T19:30:06.734Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1540442891124473937/1540442897185509487] [2026-08-21T20:39:11.741Z] Marinara: Huh, weird. Yeah, it should not change anything until the generation finishes. [Discord message: https://discord.com/channels/1417099416812392641/1540442891124473937/1540460282604687441] ``` </details> ## 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-21 05:58:27 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 21, 2026):

Fixed by #5370 and merged into staging in merge commit 4e89f3baf9.

<!-- gh-comment-id:5375539746 --> @SpicyMarinara commented on GitHub (Aug 21, 2026): Fixed by #5370 and merged into `staging` in merge commit 4e89f3baf987d395ae9d87cd023a57c2618afc38.
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#2971
No description provided.