Godot-Project-Builds icon indicating copy to clipboard operation
Godot-Project-Builds copied to clipboard

Cannot execute custom task

Open svetogam opened this issue 1 year ago • 0 comments

The documentation is ambiguous about what a "Custom Task" is. I mean adding a new scene in the Tasks folder.

I'm not sure what the workflow for adding a custom task is supposed to be exactly. I tried a variety of things, but these ended in crashes and errors. The furthest I can get is to copy an existing task, give it a different script with few or no changes, and then I get an error when executing it.

I got 2 different errors this way. One when copying CopyFiles:

ERROR: Could not create child process: 
    at: execute_with_pipe (drivers/unix/os_unix.cpp:572)

Another when copying PackZIP:

ERROR: No loader found for resource: res://Scripts/Tools (expected type: )
    at: _load (core/io/resource_loader.cpp:291)
ERROR: Can't load script: res://Scripts/Tools/
    at: start (main/main.cpp:3530)

I could get a copied task to run if I did not change its script though.

It would help if you can document a workflow for adding a custom task that works for you. Then I can tell the results of trying it.

svetogam avatar Sep 25 '24 05:09 svetogam