Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to capture pixels #1099

Open
SyncMQ opened this issue Apr 17, 2024 · 0 comments
Open

Failed to capture pixels #1099

SyncMQ opened this issue Apr 17, 2024 · 0 comments

Comments

@SyncMQ
Copy link

SyncMQ commented Apr 17, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant