Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ERROR: FATAL: Condition "!rc_owner" is true." on close after using GetThemeStylebox in C# #92076

Open
kevicency opened this issue May 18, 2024 · 5 comments

Comments

@kevicency
Copy link

kevicency commented May 18, 2024

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

Minimal reproduction project (MRP)

https://github.com/kevicency/godot-issue_stylebox/blob/main/MyPanelContainer.cs

@AThousandShips
Copy link
Member

@kevicency
Copy link
Author

Yes i saw that issue and it's probably related but i don't have any audio in my game yet

@matheusmdx
Copy link
Contributor

I tried to reproduce the issue but nothing happens here:

unknown_2024.05.18-08.46.mp4

My specs: Godot v4.3.dev6.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 580 2048SP (Advanced Micro Devices, Inc.; 31.0.21912.14) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

@kevicency
Copy link
Author

@matheusmdx i think it only happens on macOS. i just also tried to reproduce it on my win desktop but i also didn't get the error

@knightofiam
Copy link

Related to #83973, #89188.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants