ldtk icon indicating copy to clipboard operation
ldtk copied to clipboard

Bug Report! Happened while trying to change and delete tilesets. See report below

Open personnamedjames opened this issue 2 years ago • 0 comments

Stack:

LDtk version: 1.3.4-64bits
Cannot read properties of null (reading 'uid')
TypeError
TypeError: Cannot read properties of null (reading 'uid')
    at ui_modal_panel_EditAllAutoLayerRules.updateFullPanel (file:///C:/Users/Jamer/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:270675:22)
    at new ui_modal_panel_EditAllAutoLayerRules (file:///C:/Users/Jamer/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:269863:7)
    at HTMLAnchorElement.<anonymous> (file:///C:/Users/Jamer/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:222466:6)
    at HTMLAnchorElement.dispatch (C:\Users\Jamer\AppData\Local\Programs\ldtk\resources\app.asar\assets\js\jquery.min.js:2:43064)
    at v.handle (C:\Users\Jamer\AppData\Local\Programs\ldtk\resources\app.asar\assets\js\jquery.min.js:2:41048)

Processes:

#0 App
 |--- #1338 page.Editor
       |--- #1339 misc.FileWatcher
       |--- #1340 display.WorldRender
       |--- #1341 display.LevelRender
       |--- #1342 display.Camera
       |--- #1343 display.Rulers[--]
       |--- #1344 tool.SelectionTool[--]
       |--- #1345 tool.lt.DoNothing[--]
       |--- #1346 WorldTool
       |--- #1347 tool.PanView[--]
       |--- #1449 tool.lt.IntGridTool[--]
       |--- #1464 tool.lt.IntGridTool [PAUSED][--]
       |--- #1501 tool.lt.DoNothing [PAUSED][--]
       |--- #1504 tool.lt.IntGridTool [PAUSED][--]
       |--- #1505 tool.lt.IntGridTool [PAUSED][--]
       |--- #1528 ui.LastChance
       |--- #1531 ui.modal.panel.EditAllAutoLayerRules

Log:

[USERACTION]   IntGridTool: Rectangle, mode=Add, in LayerInst#570 "ts_sheldem_green" [IntGrid]
[EVENT]        LayerInstanceEditedByTool
[USERACTION]   IntGridTool: mode=Add, in LayerInst#570 "ts_sheldem_green" [IntGrid]
[USERACTION]   IntGridTool: Rectangle, mode=Add, in LayerInst#570 "ts_sheldem_green" [IntGrid]
[EVENT]        LayerInstanceEditedByTool
[USERACTION]   IntGridTool: mode=Add, in LayerInst#570 "ts_sheldem_green" [IntGrid]
[USERACTION]   Opened panel #1508 ui.modal.panel.EditAllAutoLayerRules
[FILE]         Reading HTML template editAllAutoLayerRules from cache
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[EVENT]        LayerRuleGroupChanged 714
[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]   Closed panel #1508 ui.modal.panel.EditAllAutoLayerRules
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[USERACTION]   Opened panel #1525 ui.modal.panel.EditTilesetDefs
[FILE]         Reading HTML template editTilesetDefs from cache
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[WARNING]      Last chance for: Tileset ts_sheldem_green_solid deleted
[TIDY]         Removed lost tileset in LayerDef.autolayer(AutoLayer,8px)
[TIDY]         Removed all autoTilesCache in LayerInst#675 "autolayer" [AutoLayer] (rules can no longer be applied)
[EVENT]        TilesetDefRemoved 537
[WARNING]      Full level render requested
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[USERACTION]   Closed panel #1525 ui.modal.panel.EditTilesetDefs
[RENDER]       Rendering world bg...
[USERACTION]   Opened panel #1531 ui.modal.panel.EditAllAutoLayerRules
[FILE]         Reading HTML template editAllAutoLayerRules from cache
[GENERAL]      Page started: page.CrashReport()
[FILE]         Loading page template: crashReport from C:/Users/Jamer/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/crashReport.html
[ERROR]        Cannot read properties of null (reading 'uid') (TypeError)
[ERROR]        TypeError: Cannot read properties of null (reading 'uid')
    at ui_modal_panel_EditAllAutoLayerRules.updateFullPanel (file:///C:/Users/Jamer/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:270675:22)
    at new ui_modal_panel_EditAllAutoLayerRules (file:///C:/Users/Jamer/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:269863:7)
    at HTMLAnchorElement.<anonymous> (file:///C:/Users/Jamer/AppData/Local/Programs/ldtk/resources/app.asar/assets/js/renderer.js:222466:6)
    at HTMLAnchorElement.dispatch (C:\Users\Jamer\AppData\Local\Programs\ldtk\resources\app.asar\assets\js\jquery.min.js:2:43064)
    at v.handle (C:\Users\Jamer\AppData\Local\Programs\ldtk\resources\app.asar\assets\js\jquery.min.js:2:41048)

[GENERAL]      
#0 App
 |--- #1338 page.Editor
       |--- #1339 misc.FileWatcher
       |--- #1340 display.WorldRender
       |--- #1341 display.LevelRender
       |--- #1342 display.Camera
       |--- #1343 display.Rulers[--]
       |--- #1344 tool.SelectionTool[--]
       |--- #1345 tool.lt.DoNothing[--]
       |--- #1346 WorldTool
       |--- #1347 tool.PanView[--]
       |--- #1449 tool.lt.IntGridTool[--]
       |--- #1464 tool.lt.IntGridTool [PAUSED][--]
       |--- #1501 tool.lt.DoNothing [PAUSED][--]
       |--- #1504 tool.lt.IntGridTool [PAUSED][--]
       |--- #1505 tool.lt.IntGridTool [PAUSED][--]
       |--- #1528 ui.LastChance
       |--- #1531 ui.modal.panel.EditAllAutoLayerRules
 |--- #1532 page.CrashReport

[FILE]         Cleared all file watches

personnamedjames avatar Aug 21 '23 10:08 personnamedjames