godotengine / godotengine/godot-cpp

Editor crashes on exit with extension loaded, after AHashMap sync (ce03221)

Open
#2,024 5 comments 0 reactions 0 assignees View on GitHub
bug crash
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

### Godot version

fb1821384

### godot-cpp version

ce03221

### System information

win11 9700x+5070ti

### Issue description

I ran into a crash after updating to ce03221.

Our extension registers a lot of classes, and now the editor consistently crashes at the very end of shutdown. Right before the crash I get: ERROR: Parameter "singleton" is null

followed by orphan StringName warnings (e.g. "Node"), then an access violation.

Going back to 193e164 fixes the crash.

### Steps to reproduce

godot --headless --editor --quit

### Minimal reproduction project

None

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running `godot --headless --editor --quit` with the extension loaded on godot-cpp ce03221, then compare the shutdown behavior with 193e164. Investigate the reported null singleton, orphan StringName warnings, and final access violation around editor exit. Done means the editor exits without the crash or shutdown errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, godot
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.