This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I tried doing some threading in my code for performance sake but keep running into this error.

in Engine by (274 points)

This error means you created a thread, started it, but forgot to keep a reference on it in order to stop it. As a consequence it could run forever.
What is the code you use to manage your thread?

I think that's my problem. I currently don't have any thread management right now. I'm basically a newbie with when it comes to multithreading. so this is a learning phase for me. If you have examples of thread management you would like to share I would greatly appreciate it.

There is an example of thread usage in the demos, in misc/threads. Sorry I don't have much time to expand on it right now^^"

1 Answer

0 votes

I just had this problem and it was due to the thread crashing due to a error in my code (typo in referencing a dictionary entry). Seems that secondary threads don't output the errors the same way as primary threads. So if this happens to you, check your code!

by (64 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.