You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If fonts are added to the project, and the pck file is created using Godot Editor, with the ".godot" directory removed before that, then sometimes the pck file creation occurs with an error and Godot Editor crashes:
reimport: step 0: DejaVuSerifCondensed.ttf
reimport: step 10: DejaVuSansMono-BoldOblique.ttf
reimport: step 14: DejaVuSansCondensed-BoldOblique.ttf
ERROR: Caller thread can't call this function in this node (/root). Use call_deferred() or call_thread_group() instead.
at: propagate_notification (scene/main/node.cpp:2422)
=================================================================
handle_crash: Program crashed with signal 11
The script performs a loop deleting the ".godot" directory and creating a pck file:
for i in {0..100000}; do
clear
rm -rf $RESOURCE_DIR/.godot
${GODOT_EDITOR_BIN} --headless --path ${RESOURCE_DIR} --export-pack ${EXPORT_TEMPLATE} ${PCK_FILE}
if [[ $? -ne 0 ]]; then
echo "step failed"
exit 1
fi
done
Steps to reproduce
Unpack the archive with the test project: new-game-project.zip
into a convenient directory
Run the editor_loop_bug.sh script: editor_loop_bug.zip
specifying the path to the Godot Editor executable file and the path to the new-game-project as input:
Example of a script for playback: editor_loop_bug.zip
The script input is the path to the Godot Editor executable file and the path to the new-game-project:
Tested versions
System information
Ubuntu 22.04.5 LTS - Godot Editor 4.3.stable
Issue description
If fonts are added to the project, and the pck file is created using Godot Editor, with the ".godot" directory removed before that, then sometimes the pck file creation occurs with an error and Godot Editor crashes:
Example of a test project new-game-project, to reproduce:
new-game-project.zip
Example of a script for playback:
editor_loop_bug.zip
The script input is the path to the Godot Editor executable file and the path to the new-game-project:
The script performs a loop deleting the ".godot" directory and creating a pck file:
Steps to reproduce
Unpack the archive with the test project:
new-game-project.zip
into a convenient directory
Run the editor_loop_bug.sh script:
editor_loop_bug.zip
specifying the path to the Godot Editor executable file and the path to the new-game-project as input:
At the Nth iteration, Godot Editor will crash.
On my machine, sometimes the crash lasts for one minute, and sometimes 10 minutes or more
Minimal reproduction project (MRP)
Example of a test project new-game-project, to reproduce:
new-game-project.zip
Example of a script for playback:
editor_loop_bug.zip
The script input is the path to the Godot Editor executable file and the path to the new-game-project:
The text was updated successfully, but these errors were encountered: