"ERROR: FATAL: Condition "!rc_owner" is true." on close after using GetThemeStylebox
in C#
#92076
Labels
Milestone
GetThemeStylebox
in C#
#92076
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
andStyleBoxFlat
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
MyPanelContainer
in MRP (https://github.com/kevicency/godot-issue_stylebox/blob/main/MyPanelContainer.tscn#L8)Minimal reproduction project (MRP)
https://github.com/kevicency/godot-issue_stylebox/blob/main/MyPanelContainer.cs
The text was updated successfully, but these errors were encountered: