Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LDtk keeps crashing #1197

Open
Open
@CosmicLighthouseGames

Description

This is the third time it's crashed today, and it keeps deleting half of my levels when it does.

Stack:

LDtk version: 1.5.3-64bits
EPERM: operation not permitted, unlink 'D:/WillT/Documents/source/Isometric-Game/Content/level_editor/0023-Level_23.ldtkl'
Error
Error: EPERM: operation not permitted, unlink 'D:/WillT/Documents/source/Isometric-Game/Content/level_editor/0023-Level_23.ldtkl'
 at Object.unlinkSync (node:fs:1780:3)
 at misc_JsTools.removeDirFiles (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:230592:15)
 at ui_ProjectSaver.initDir (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:287538:17)
 at ui_ProjectSaver.beginState (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:286750:10)
 at ui_ProjectSaver.beginNextState (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:286395:8)
 at ui_modal_Progress.onComplete (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:286719:13)
 at ui_modal_Progress.update (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:292611:10)
 at dn_Process._doMainUpdate (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:405:4)
 at dn_Process._doMainUpdate (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:432:15)
 at dn_Process._doMainUpdate (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:432:15)

Processes:

#0 App
 |--- #4 page.Editor
 |--- #5 misc.FileWatcher
 |--- #6 display.WorldRender
 |--- #7 display.LevelRender
 |--- #8 display.Camera
 |--- #9 display.Rulers[--]
 |--- #10 tool.SelectionTool[--]
 |--- #11 tool.lt.DoNothing[--]
 |--- #12 WorldTool
 |--- #13 tool.PanView[--]
 |--- #14 tool.lt.EntityTool [PAUSED][--]
 |--- #42 tool.lt.EntityTool[--]
 |--- #99 display.EntityRender
 |--- #100 display.EntityRender
 |--- #101 display.EntityRender
 |--- #102 display.EntityRender
 |--- #103 ui.ProjectSaver
 |--- #104 ui.modal.MetaProgress
 |--- #107 ui.modal.Progress

Log:

[CACHE] Garbaging unused image LdtkIcons_32_224_16_16...
[CACHE] Disposing cached image LdtkIcons_32_224_16_16...
[CACHE] Garbaging unused image LdtkIcons_224_912_16_16...
[CACHE] Disposing cached image LdtkIcons_224_912_16_16...
[CACHE] Garbaging unused image LdtkIcons_192_592_16_16...
[CACHE] Disposing cached image LdtkIcons_192_592_16_16...
[CACHE] Garbaging unused image LdtkIcons_32_16_16_16...
[CACHE] Disposing cached image LdtkIcons_32_16_16_16...
[CACHE] Garbaging unused image LdtkIcons_96_176_16_16...
[CACHE] Disposing cached image LdtkIcons_96_176_16_16...
[CACHE] Garbaging unused image LdtkIcons_160_608_16_16...
[CACHE] Disposing cached image LdtkIcons_160_608_16_16...
[CACHE] Garbaging unused image LdtkIcons_240_976_16_16...
[CACHE] Disposing cached image LdtkIcons_240_976_16_16...
[CACHE] Garbaging unused image LdtkIcons_224_960_16_16...
[CACHE] Disposing cached image LdtkIcons_224_960_16_16...
[SAVE] => PreChecks...
[SAVE] => BeforeSavingActions...
[EVENT] BeforeProjectSaving
[SAVE] => AutoLayers...
[SAVE] => Backup...
[SAVE] Backing up D:/WillT/Documents/source/Isometric-Game/Content to D:/WillT/Documents/source/Isometric-Game/Content/level_editor/backups/a30ec500-7820-11ed-8bd4-7b6c9f361182_2025年11月03日_16-48-08...
[SAVE] Found 41 files.
[GENERAL] Progress created.
[RENDER] Rendering world bg...
[GENERAL] Progress started: : "Backup", 42 operation(s)
[SAVE] Removing older backup: a30ec500-7820-11ed-8bd4-7b6c9f361182_2025年11月03日_15-23-17
[GENERAL] Progress completed: "Backup" (0.5s)
[SAVE] Done!
[GENERAL] Progress created.
[RENDER] Rendering world bg...
[GENERAL] Progress started: : "Preparing levels...", 40 operation(s)
[GENERAL] Progress completed: "Preparing levels..." (0s)
[SAVE] => SavingMainFile...
[GENERAL] Progress created.
[RENDER] Rendering world bg...
[GENERAL] Progress started: : "Saving main file...", 2 operation(s)
[SAVE] Preparing SavingData...
[SAVE] Writing D:/WillT/Documents/source/Isometric-Game/Content/level_editor.ldtk...
[GENERAL] Progress completed: "Saving main file..." (0s)
[SAVE] => SavingExternLevels...
[FILE] Emptying dir D:/WillT/Documents/source/Isometric-Game/Content/level_editor (onlyExts=[ldtkl])...
[GENERAL] Page started: page.CrashReport()
[FILE] Loading page template: crashReport from C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/crashReport.html
[ERROR] EPERM: operation not permitted, unlink 'D:/WillT/Documents/source/Isometric-Game/Content/level_editor/0023-Level_23.ldtkl' (Error)
[ERROR] Error: EPERM: operation not permitted, unlink 'D:/WillT/Documents/source/Isometric-Game/Content/level_editor/0023-Level_23.ldtkl'
 at Object.unlinkSync (node:fs:1780:3)
 at misc_JsTools.removeDirFiles (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:230592:15)
 at ui_ProjectSaver.initDir (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:287538:17)
 at ui_ProjectSaver.beginState (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:286750:10)
 at ui_ProjectSaver.beginNextState (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:286395:8)
 at ui_modal_Progress.onComplete (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:286719:13)
 at ui_modal_Progress.update (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:292611:10)
 at dn_Process._doMainUpdate (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:405:4)
 at dn_Process._doMainUpdate (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:432:15)
 at dn_Process._doMainUpdate (file:///C:/Users/WillT/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:432:15)
[GENERAL] 
#0 App
 |--- #4 page.Editor
 |--- #5 misc.FileWatcher
 |--- #6 display.WorldRender
 |--- #7 display.LevelRender
 |--- #8 display.Camera
 |--- #9 display.Rulers[--]
 |--- #10 tool.SelectionTool[--]
 |--- #11 tool.lt.DoNothing[--]
 |--- #12 WorldTool
 |--- #13 tool.PanView[--]
 |--- #14 tool.lt.EntityTool [PAUSED][--]
 |--- #42 tool.lt.EntityTool[--]
 |--- #99 display.EntityRender
 |--- #100 display.EntityRender
 |--- #101 display.EntityRender
 |--- #102 display.EntityRender
 |--- #103 ui.ProjectSaver
 |--- #104 ui.modal.MetaProgress
 |--- #107 ui.modal.Progress
 |--- #108 page.CrashReport
[FILE] Cleared all file watches

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /