godotengine / godotengine/godot

preload theme locks application

Open
#103,579 5 comments 0 reactions 0 assignees View on GitHub
needs testing topic:gui
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Godot v4.4stable-official

### System information

Linux Ubuntu - Godot v4.4stable-official

### Issue description

The game window on F5 will reach a point where it just *STOPS*, without warning or error. It freezes without warning, and predictably when I enter a particular command through my console. One problem is I have my own setup at this point (which worked prior to change to 4.4 in the last 4.3-stable-official version), so it makes little sense to point out the long and complicated chain of custom code that would have little effect to anyone here. Tragic, because I cannot hand over my code publicly so you can see exactly where it freezes. I've traced it to where when entering the command, it appears to stop at the exact place which is logically nowhere where it should stop (Its actually just a flag check it passes multiple before in the running that looks like this:

```
func _updates_pathed():
if check(WROCESS.MODIFIED, WROCESS.TAG):
_pathed = _expansion()
```

it just stops there at the check. I've put a breakpoint there and at the point it decides to stop running it should be exiting that function as the check is false there, then breakpoint appears to resume but the app is still hung). So I don't know what even to put here, but to ask what the heck. Everything stops in the running application and it appears to be spinning somewhere it should not like it hit a wall. Is there some sort of limit placed that wasn't there before? Its a limit or a lock of some sort? Now, this is occurring when I have a command that calls another command internally, but other commands do this without locking the application.

I know I cannot expect an answer with what details I'm providing. This is a breaking mystery right now and I can't really provide the tools here to get as clear an answer as needed.

### Steps to reproduce

You can't really without a bunch of private and custom code.

### Minimal reproduction project (MRP)

Again, I can't really provide one from where I'm working.

Contributor guide

Open the contributing guide

Research direction

No project files, reproducible steps, or minimal reproduction are provided. Start with the _updates_pathed() breakpoint and the console command that triggers the freeze, then isolate the behavior in a minimal Godot project; the issue is ready only when the hang can be reproduced and its cause or fix is identified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.