godot-rust / godot-rust/gdext

Extension loading error when exiting the console

Open
#1,164 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5.2k
Forks
312
Avg merge
11h 10m
Merged PRs (30d)
10

Description

This is quite a specific error - I haven't seen it described yet, but please correct me if I'm wrong. Also, I'm not entirely sure it's a gdext issue. Basically, when you launch godot from the console and it transitions from there into its own thread, then after closing the console, gdext stops working. As far as I’ve tested, other extensions continue to function.

Tested only on godot 4.5 and gdext 0.24.

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with Godot 4.5 and gdext 0.24 by launching Godot from a console, allowing it to transition into its own thread, and then closing the console. Investigate the extension-loading and thread-lifecycle behavior; done means gdext continues working after the console closes, as other extensions reportedly do.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.