Description
Tested versions
4.3-dev.6
System information
Godot v4.3.dev6.mono - macOS 14.4.1 - Vulkan (Forward+) - integrated Apple M2 Max - Apple M2 Max (12 Threads)
Issue description
After working on an inventory system which made heavy use of PanelContainer
and StyleBoxFlat
i ran into the problem where my game and the editor threw an error on close (ERROR: FATAL: Condition "!rc_owner" is true.
) and the process had to be manually killed every time.
I was able to somewhat isolate the issue in an MRP but in my actual project there are more issues that i couldn't reproduce. F.e. i have a custom control which extends PanelContainer
but as soon a i set a theme overwrite for the panel style box in the editor and start the game / close the editor i get the same error and the editor hangs on close (even without any code accessing the style box overwrite)
Steps to reproduce
- Remove style panel override in
MyPanelContainer
in MRP (https://github.com/kevicency/godot-issue_stylebox/blob/main/MyPanelContainer.tscn#L8) - Run game
- Try to close it
Minimal reproduction project (MRP)
https://github.com/kevicency/godot-issue_stylebox/blob/main/MyPanelContainer.cs