[GH-ISSUE #3425] [Issue]: Cannot delete generated assets in asset browser on Docker v2.1.1 #1852

Closed
opened 2026-10-21 05:43:15 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Deleting an asset from the Asset Browser fails because the asset is flagged as native. The affected asset was reportedly generated by Illustrator during a Game Mode session.

Expected behavior

User-generated assets should be deletable from the Asset Browser using either bulk delete or the item delete menu.

Actual behavior

Deleting the selected asset fails with a toastr error. Bulk delete reports "1 file failed to delete" and the API response says "Cannot delete native assets"; deleting via the three-dot menu shows "Action failed: Cannot delete native assets".

Steps to reproduce

  1. Open Settings sidebar.
  2. Go to the Imports tab.
  3. Scroll down to Game Assets and click Asset Browser.
  4. Navigate to backgrounds -> illustrations.
  5. Select a picture using its checkbox.
  6. Click Delete and confirm deletion in the modal.
  7. Observe the "1 file failed to delete" toastr.
  8. Open the three-dot menu on the same picture.

Environment

  • Marinara Engine version: v2.1.1, build f257b4b
  • Install type: docker
  • OS + version: Ubuntu 26.04 LTS
  • Browser or app shell: Not provided

Logs, screenshots, or video

deletebulk response: {"succeeded":[],"failed":[{"path":"backgrounds/illustrations/welcome-pavilion-golden-hour.png","error":"Cannot delete native assets"}]}

Additional context

User is unsure whether this also occurs on a local install or is Docker-specific. The asset was generated by Illustrator in a Game Mode session, which may be related.

Discord thread: [2.1.1 Docker] Cannot delete assets in asset browser
Discord thread link: https://discord.com/channels/1417099416812392641/1525146261722759359
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-10T14:26:44.642Z] FroMonk: ` ` `
OS: Ubuntu 26.04 LTS
Install: Docker
Release: v2.1.1
Build: f257b4b
` ` `
I don't think this is a *new* issue but I finally decided to crack open devtools to see what's going on.
Repro steps:
* Settings sidebar, Imports tab, scroll down to Game Assets and click Asset Browser
* Navigate to backgrounds->illustrations
* Click checkbox on a picture and click delete and click Delete in confirmation modal
* Get "1 file failed to delete" toastr
The response back from deletebulk:
` ` `json
{"succeeded":[],"failed":[{"path":"backgrounds/illustrations/welcome-pavilion-golden-hour.png","error":"Cannot delete native assets"}]}
` ` `
* Click three dots on picture and click delete in confirmation modal
* Get "Action failed: Cannot delete native assets" toastr

I'm not sure if this happens on a local install or if this is unique to Docker, but I'm not sure why the asset is being flagged as 'native'. It was generated by illustrator in a Game Mode session, but I'm not sure if that matters.
[Discord message: https://discord.com/channels/1417099416812392641/1525146261722759359/1525146261722759359]

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 (Jul 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3425 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Deleting an asset from the Asset Browser fails because the asset is flagged as native. The affected asset was reportedly generated by Illustrator during a Game Mode session. ## Expected behavior User-generated assets should be deletable from the Asset Browser using either bulk delete or the item delete menu. ## Actual behavior Deleting the selected asset fails with a toastr error. Bulk delete reports "1 file failed to delete" and the API response says "Cannot delete native assets"; deleting via the three-dot menu shows "Action failed: Cannot delete native assets". ## Steps to reproduce 1. Open Settings sidebar. 2. Go to the Imports tab. 3. Scroll down to Game Assets and click Asset Browser. 4. Navigate to backgrounds -> illustrations. 5. Select a picture using its checkbox. 6. Click Delete and confirm deletion in the modal. 7. Observe the "1 file failed to delete" toastr. 8. Open the three-dot menu on the same picture. ## Environment - Marinara Engine version: v2.1.1, build f257b4b - Install type: docker - OS + version: Ubuntu 26.04 LTS - Browser or app shell: Not provided ## Logs, screenshots, or video deletebulk response: {"succeeded":[],"failed":[{"path":"backgrounds/illustrations/welcome-pavilion-golden-hour.png","error":"Cannot delete native assets"}]} ## Additional context User is unsure whether this also occurs on a local install or is Docker-specific. The asset was generated by Illustrator in a Game Mode session, which may be related. Discord thread: [2.1.1 Docker] Cannot delete assets in asset browser Discord thread link: https://discord.com/channels/1417099416812392641/1525146261722759359 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-10T14:26:44.642Z] FroMonk: ` ` ` OS: Ubuntu 26.04 LTS Install: Docker Release: v2.1.1 Build: f257b4b ` ` ` I don't think this is a *new* issue but I finally decided to crack open devtools to see what's going on. Repro steps: * Settings sidebar, Imports tab, scroll down to Game Assets and click Asset Browser * Navigate to backgrounds->illustrations * Click checkbox on a picture and click delete and click Delete in confirmation modal * Get "1 file failed to delete" toastr The response back from deletebulk: ` ` `json {"succeeded":[],"failed":[{"path":"backgrounds/illustrations/welcome-pavilion-golden-hour.png","error":"Cannot delete native assets"}]} ` ` ` * Click three dots on picture and click delete in confirmation modal * Get "Action failed: Cannot delete native assets" toastr I'm not sure if this happens on a local install or if this is unique to Docker, but I'm not sure why the asset is being flagged as 'native'. It was generated by illustrator in a Game Mode session, but I'm not sure if that matters. [Discord message: https://discord.com/channels/1417099416812392641/1525146261722759359/1525146261722759359] ``` </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:43:15 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 10, 2026):

Claimed by @SpicyMarinara in draft PR #3430. Implementation and validation are in progress against staging.

<!-- gh-comment-id:4937001515 --> @SpicyMarinara commented on GitHub (Jul 10, 2026): Claimed by @SpicyMarinara in draft PR #3430. Implementation and validation are in progress against `staging`.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 10, 2026):

Fixed in #3430 and merged to staging.

<!-- gh-comment-id:4937360242 --> @SpicyMarinara commented on GitHub (Jul 10, 2026): Fixed in #3430 and merged to staging.
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#1852
No description provided.