Skip to content

Hello I cannot open my LDTK project anymore after I duplicated a layer :( #1225

Description

@mouwne

Stack:

LDtk version: 1.5.3-64bits
Cannot read properties of null (reading 'externalLevels')
TypeError
TypeError: Cannot read properties of null (reading 'externalLevels')
    at Object.cb (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:285488:8)
    at ui_modal_Progress.update (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:292554:8)
    at dn_Process._doMainUpdate (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:405:4)
    at dn_Process.updateAll (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:675:14)
    at Boot.update (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:5190:14)
    at Boot.mainLoop (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:5152:8)
    at hxd_System.browserLoop (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:190796:14)

Processes:

#0 App
 |--- #2 page.Home
 |--- #4 page.Home
#1 ui.modal.Progress
#3 ui.modal.dialog.LogPrint
#5 ui.modal.dialog.LogPrint

Log:



[BOOT]         App started
[BOOT]         Version: 1.5.3-64bits (build 473703)
[BOOT]         ExePath: C:/Users/mathi/AppData/Local/Programs/ldtk
[BOOT]         Assets: C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets
[BOOT]         ExtraFiles: C:/Users/mathi/AppData/Local/Programs/ldtk/extraFiles
[BOOT]         CWD: C:\Users\mathi\OneDrive\Documents\NIGHSTERS_2025\UNITY PROJECTS\FROM MKD07_07_25\NIGHTSTERS\
[BOOT]         Display: 1536x864
[BOOT]         Args: soloValues=[C:\Users\mathi\OneDrive\Documents\NIGHSTERS_2025\UNITY, PROJECTS\FROM, MKD07_07_25\NIGHTSTERS\Assets\Level, Design\NIGHSTERS_LD_unity.ldtk], args=[]
[FILE]         Loading settings from C:/Users/mathi/AppData/Roaming/LDtk/settings...
[WARNING]        -> New settings
[BOOT]         AppZoomFactor: 1
[BOOT]         Calling appReady...
[UPDATE]       Looking for update
[BOOT]         Start args: path=C:\Users\mathi\OneDrive\Documents\NIGHSTERS_2025\UNITY PROJECTS\FROM MKD07_07_25\NIGHTSTERS\Assets\Level Design\NIGHSTERS_LD_unity.ldtk levelIndex=null
[BOOT]         Loading project from args (C:\Users\mathi\OneDrive\Documents\NIGHSTERS_2025\UNITY PROJECTS\FROM MKD07_07_25\NIGHTSTERS\Assets\Level Design\NIGHSTERS_LD_unity.ldtk)...
[GENERAL]      Progress created.
[GENERAL]      Progress started: : "NIGHSTERS_LD_unity.ldtk: Project...", 5 operation(s)
[LOAD]         Loading project NIGHSTERS_LD_unity.ldtk...
[ERROR]        SyntaxError: Unexpected end of JSON input
[ERROR]        Failed to load project: C:\Users\mathi\OneDrive\Documents\NIGHSTERS_2025\UNITY PROJECTS\FROM MKD07_07_25\NIGHTSTERS\Assets\Level Design\NIGHSTERS_LD_unity.ldtk levelIdx=null
[GENERAL]      Page started: page.Home()
[FILE]         Loading page template: home from C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/home.html
[DEBUG]        samplesDir=C:/Users/mathi/AppData/Local/Programs/ldtk/extraFiles/samples
[FILE]         Loading HTML template logPrint
[ERROR]        TypeError: Cannot read properties of null (reading 'iid')
[ERROR]        Failed to load project: C:\Users\mathi\OneDrive\Documents\NIGHSTERS_2025\UNITY PROJECTS\FROM MKD07_07_25\NIGHTSTERS\Assets\Level Design\NIGHSTERS_LD_unity.ldtk levelIdx=null
[GENERAL]      Page started: page.Home()
[FILE]         Loading page template: home from C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/home.html
[DEBUG]        samplesDir=C:/Users/mathi/AppData/Local/Programs/ldtk/extraFiles/samples
[FILE]         Reading HTML template logPrint from cache
[GENERAL]      Page started: page.CrashReport()
[FILE]         Loading page template: crashReport from C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/crashReport.html
[ERROR]        Cannot read properties of null (reading 'externalLevels') (TypeError)
[ERROR]        TypeError: Cannot read properties of null (reading 'externalLevels')
    at Object.cb (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:285488:8)
    at ui_modal_Progress.update (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:292554:8)
    at dn_Process._doMainUpdate (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:405:4)
    at dn_Process.updateAll (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:675:14)
    at Boot.update (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:5190:14)
    at Boot.mainLoop (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:5152:8)
    at hxd_System.browserLoop (file:///C:/Users/mathi/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:190796:14)

[GENERAL]      
#0 App
 |--- #2 page.Home
 |--- #4 page.Home
 |--- #6 page.CrashReport
#1 ui.modal.Progress
#3 ui.modal.dialog.LogPrint
#5 ui.modal.dialog.LogPrint

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