godotengine / godotengine/godot-docs

No mentions that signals can't be emitted from any thread other than main

Open
#7,838 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:** 4.1 stable

**Issue description:**
After several hours trying to figure out why I get really weird error messages from my multi threaded code I find out in a test scenario that I cannot emit a signal from another thread than main. I haven't seen any documentation of this in any of the reasonable places (Signal Class documentation, Object.emit_signal, or the tutorial on using signals)

**URL to the documentation page (if already existing):**

[Object](https://docs.godotengine.org/en/4.1/classes/class_object.html)
[Signal](https://docs.godotengine.org/en/4.1/classes/class_signal.html)
[Using signals](https://docs.godotengine.org/en/4.1/getting_started/step_by_step/signals.html)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.