deepnight / ldtk

Modern, lightweight and efficient 2D level editor
https://ldtk.io
MIT License
3.45k stars 192 forks source link

Crash report #1113

Open agmcleod opened 5 months ago

agmcleod commented 5 months ago

Got this crash when i was editing an auto layer rule, and was trying to clear the tile i had there.

Stack:

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

Processes:

#0 App
 |--- #7 page.Editor
       |--- #8 misc.FileWatcher
       |--- #9 display.WorldRender
       |--- #10 display.LevelRender
       |--- #11 display.Camera
       |--- #12 display.Rulers[--]
       |--- #13 tool.SelectionTool[--]
       |--- #14 tool.lt.DoNothing[--]
       |--- #15 WorldTool
       |--- #16 tool.PanView[--]
       |--- #482 tool.lt.DoNothing[--]
       |--- #496 display.EntityRender
       |--- #497 display.EntityRender
       |--- #498 display.EntityRender
       |--- #499 display.EntityRender
       |--- #500 display.EntityRender
       |--- #501 display.EntityRender
       |--- #502 display.EntityRender
       |--- #503 display.EntityRender
       |--- #504 display.EntityRender
       |--- #505 display.EntityRender
       |--- #506 display.EntityRender
       |--- #507 display.EntityRender
       |--- #508 display.EntityRender
       |--- #509 display.EntityRender
       |--- #510 display.EntityRender
       |--- #511 display.EntityRender
       |--- #512 display.EntityRender
       |--- #513 display.EntityRender
       |--- #515 tool.lt.IntGridTool [PAUSED][--]
       |--- #530 ui.modal.panel.EditAllAutoLayerRules
       |--- #534 ui.modal.dialog.RuleEditor

Log:

[RENDER]       Rendering world bg...
[EVENT]        LayerRuleChanged 27
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[USERACTION]   Closed panel #484 ui.modal.panel.EditAllAutoLayerRules
[GENERAL]      Applying invalidated rules...
[GENERAL]      Progress created.
[RENDER]       Rendering world bg...
[GENERAL]      Progress started: : "Updating auto layers...", 15 operation(s)
[GENERAL]      Progress completed: "Updating auto layers..." (0s)
[RENDER]       Rendering world level data.Level#98dfa8d0-25d0-11ef-b810-75ff5c1c940d "Level_0"...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world level data.Level#cfc4b2f0-25d0-11ef-b810-e3f40e7f92fe "Level_1"...
[RENDER]       Rendering world bg...
[EVENT]        LayerInstanceSelected 24
[RENDER]       Rendered level UI
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[EVENT]        LayerInstanceSelected 25
[RENDER]       Rendered level UI
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[USERACTION]   Opened panel #530 ui.modal.panel.EditAllAutoLayerRules
[FILE]         Reading HTML template editAllAutoLayerRules from cache
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[FILE]         Reading HTML template ruleEditor from cache
[RENDER]       Rendering world bg...
[EVENT]        LayerRuleChanged 27
[GENERAL]      Page started: page.CrashReport()
[FILE]         Loading page template: crashReport from C:/Users/aaron/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/crashReport.html
[ERROR]        Missing layer instance for 3 (Error)
[ERROR]        undefined

[GENERAL]      
#0 App
 |--- #7 page.Editor
       |--- #8 misc.FileWatcher
       |--- #9 display.WorldRender
       |--- #10 display.LevelRender
       |--- #11 display.Camera
       |--- #12 display.Rulers[--]
       |--- #13 tool.SelectionTool[--]
       |--- #14 tool.lt.DoNothing[--]
       |--- #15 WorldTool
       |--- #16 tool.PanView[--]
       |--- #482 tool.lt.DoNothing[--]
       |--- #496 display.EntityRender
       |--- #497 display.EntityRender
       |--- #498 display.EntityRender
       |--- #499 display.EntityRender
       |--- #500 display.EntityRender
       |--- #501 display.EntityRender
       |--- #502 display.EntityRender
       |--- #503 display.EntityRender
       |--- #504 display.EntityRender
       |--- #505 display.EntityRender
       |--- #506 display.EntityRender
       |--- #507 display.EntityRender
       |--- #508 display.EntityRender
       |--- #509 display.EntityRender
       |--- #510 display.EntityRender
       |--- #511 display.EntityRender
       |--- #512 display.EntityRender
       |--- #513 display.EntityRender
       |--- #515 tool.lt.IntGridTool [PAUSED][--]
       |--- #530 ui.modal.panel.EditAllAutoLayerRules
       |--- #534 ui.modal.dialog.RuleEditor
 |--- #535 page.CrashReport

[FILE]         Cleared all file watches