deepnight/ldtk

crash when trying to toggle autolayer on and off w/ shift + R

jrob2386 opened this issue · 1 comments

Stack:

LDtk version: 1.5.3-64bits
Missing layer instance for 114
Error

Processes:

#0 App
 |--- #46 page.Editor
       |--- #47 misc.FileWatcher
       |--- #48 display.WorldRender
       |--- #49 display.LevelRender
       |--- #50 display.Camera
       |--- #51 display.Rulers[--]
       |--- #52 tool.SelectionTool[--]
       |--- #53 tool.lt.DoNothing[--]
       |--- #54 WorldTool
       |--- #55 tool.PanView[--]
       |--- #56 tool.lt.IntGridTool[--]

Log:

[FILE]         Loading page template: editor from C:/Users/Jay/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/editor.html
[FILE]         Cleared all file watches
[EVENT]        LayerInstanceSelected 116
[FILE]         Reloading tileset: Cavernas_by_Adam_Saltsman path=../AppData/Local/Programs/ldtk/extraFiles/samples/atlas/Cavernas_by_Adam_Saltsman.png
[FILE]         Loading atlas image: ../AppData/Local/Programs/ldtk/extraFiles/samples/atlas/Cavernas_by_Adam_Saltsman.png...
[CACHE]        Caching image ../AppData/Local/Programs/ldtk/extraFiles/samples/atlas/Cavernas_by_Adam_Saltsman.png...
[CACHE]         -> identified as Png
[CACHE]         -> base64 9744
[CACHE]         -> pixels 96x256
[FILE]          -> Loaded 7307 bytes.
[FILE]          -> Decoded 96x256 pixels.
[FILE]          -> Old size: 96x256 -> 96x256
[WARNING]      Tileset Cavernas_by_Adam_Saltsman remapping (image size changed)...
[FILE]          -> Reload result: Ok
[FILE]          -> pixelData: Ok
[EVENT]        TilesetImageLoaded
[FILE]         Reloading tileset: Tileset_template path=tileset_template-Sheet.png
[FILE]         Loading atlas image: tileset_template-Sheet.png...
[CACHE]        Caching image tileset_template-Sheet.png...
[CACHE]         -> identified as Png
[CACHE]         -> base64 1108
[CACHE]         -> pixels 144x80
[FILE]          -> Loaded 831 bytes.
[FILE]          -> Decoded 144x80 pixels.
[FILE]          -> Old size: 144x80 -> 144x80
[WARNING]      Tileset Tileset_template remapping (image size changed)...
[FILE]          -> Reload result: Ok
[FILE]          -> pixelData: Ok
[EVENT]        TilesetImageLoaded
[EVENT]        ProjectSelected
[WARNING]      Full level render requested
[RENDER]       Rendering all world...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bounds...
[FILE]         Watching file: C:/Users/Jay/AppData/Local/Programs/ldtk/extraFiles/samples/atlas/Cavernas_by_Adam_Saltsman.png
[FILE]         Watching file: C:/Users/Jay/Desktop/tileset_template-Sheet.png
[RENDER]       Rendering world level data.Level#a2a50ff0-66b0-11ec-9cd7-c721746049b9 "AutoLayer"...
[RENDER]       Rendering world level fields data.Level#a2a50ff0-66b0-11ec-9cd7-c721746049b9 "AutoLayer"...
[RENDER]       Rendered level UI
[RENDER]       Rendering world bg...
[GENERAL]      Progress completed: "wayne.ldtk: Project..." (0.5s)
[EVENT]        AutoLayerRenderingChanged Metal,Dirt
[GENERAL]      Page started: page.CrashReport()
[FILE]         Loading page template: crashReport from C:/Users/Jay/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/crashReport.html
[ERROR]        Missing layer instance for 114 (Error)
[ERROR]        undefined

[GENERAL]      
#0 App
 |--- #46 page.Editor
       |--- #47 misc.FileWatcher
       |--- #48 display.WorldRender
       |--- #49 display.LevelRender
       |--- #50 display.Camera
       |--- #51 display.Rulers[--]
       |--- #52 tool.SelectionTool[--]
       |--- #53 tool.lt.DoNothing[--]
       |--- #54 WorldTool
       |--- #55 tool.PanView[--]
       |--- #56 tool.lt.IntGridTool[--]
 |--- #57 page.CrashReport

[FILE]         Cleared all file watches

I had same error message, but in my case, I deleted one tilemap layer.