ldtk icon indicating copy to clipboard operation
ldtk copied to clipboard

Failed to capture pixels

Open SyncMQ opened this issue 1 year ago • 0 comments

Whenever I try to create rules using the assistant option, the LDtk crashes. Here is the error:

Stack:

LDtk version: 1.5.3-64bits
Failed to capture pixels (error 1286)
Error

Processes:

#0 App
 |--- #2 page.Editor
       |--- #3 misc.FileWatcher
       |--- #4 display.WorldRender
       |--- #5 display.LevelRender
       |--- #6 display.Camera
       |--- #7 display.Rulers[--]
       |--- #8 tool.SelectionTool[--]
       |--- #9 tool.lt.DoNothing[--]
       |--- #10 WorldTool
       |--- #11 tool.PanView[--]
       |--- #12 tool.lt.TileTool [PAUSED][--]
       |--- #74 ui.LastChance
       |--- #79 tool.lt.IntGridTool[--]
       |--- #81 ui.modal.panel.EditAllAutoLayerRules
       |--- #83 ui.modal.ContextMenu
       |--- #84 ui.modal.dialog.RulesWizard

Log:

[RENDER]       Rendering world bg...
[TIDY]         Fixed layer instance array in data.Level#5dbd8a90-d7b0-11ee-b3e8-5b648af15f82 "Overworld_village" (order mismatch or missing layer instance)
[TIDY]         Added missing layer instance AutoLayer in data.Level#5dbd8a90-d7b0-11ee-b3e8-5b648af15f82 "Overworld_village"
[EVENT]        LayerInstanceSelected 15
[EVENT]        LayerDefAdded
[GENERAL]      Progress created.
[RENDER]       Rendered level UI
[RENDER]       Rendering world level data.Level#5dbd8a90-d7b0-11ee-b3e8-5b648af15f82 "Overworld_village"...
[ERROR]        missing autoTilesCache in LayerInst#15 "AutoLayer" [AutoLayer]
[WARNING]      Full level render requested
[RENDER]       Rendering world bg...
[GENERAL]      Progress started: : "Updating auto-layers...", 1 operation(s)
[WARNING]      All rules applied in LayerInst#15 "AutoLayer" [AutoLayer]
[GENERAL]      Progress completed: "Updating auto-layers..." (0s)
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[WARNING]      Last chance for: Layer AutoLayer deleted
[TIDY]         Removed lost layer instance in data.Level#5dbd8a90-d7b0-11ee-b3e8-5b648af15f82 "Overworld_village"
[EVENT]        LayerDefRemoved 15
[EVENT]        LayerInstanceSelected 14
[FILE]         Reading HTML template pivotEditor from cache
[FILE]         Reading HTML template pivotEditor from cache
[RENDER]       Rendering world level data.Level#5dbd8a90-d7b0-11ee-b3e8-5b648af15f82 "Overworld_village"...
[RENDER]       Rendered level UI
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[EVENT]        LayerInstanceSelected 13
[RENDER]       Rendered level UI
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[USERACTION]   Closed panel #64 ui.modal.panel.EditLayerDefs
[USERACTION]   Opened panel #81 ui.modal.panel.EditAllAutoLayerRules
[FILE]         Loading HTML template editAllAutoLayerRules
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[RENDER]       Rendering world bg...
[FILE]         Loading HTML template rulesWizard.html
[GENERAL]      Page started: page.CrashReport()
[FILE]         Loading page template: crashReport from C:/Users/milan/AppData/Local/Programs/ldtk/resources/app.asar/assets/tpl/pages/crashReport.html
[ERROR]        Failed to capture pixels (error 1286) (Error)
[ERROR]        undefined

[GENERAL]      
#0 App
 |--- #2 page.Editor
       |--- #3 misc.FileWatcher
       |--- #4 display.WorldRender
       |--- #5 display.LevelRender
       |--- #6 display.Camera
       |--- #7 display.Rulers[--]
       |--- #8 tool.SelectionTool[--]
       |--- #9 tool.lt.DoNothing[--]
       |--- #10 WorldTool
       |--- #11 tool.PanView[--]
       |--- #12 tool.lt.TileTool [PAUSED][--]
       |--- #74 ui.LastChance
       |--- #79 tool.lt.IntGridTool[--]
       |--- #81 ui.modal.panel.EditAllAutoLayerRules
       |--- #83 ui.modal.ContextMenu
       |--- #84 ui.modal.dialog.RulesWizard
 |--- #85 page.CrashReport

[FILE]         Cleared all file watches

SyncMQ avatar Apr 17 '24 11:04 SyncMQ