We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MacOS 15.1, any renderer
Exiting the game causes a hang and the following error:
ERROR: FATAL: Condition "!rc_owner" is true. at: _instance_binding_reference_callback (modules/mono/csharp_script.cpp:1237)
This starts happening after using C# to create a texture and bind it to a global shader parameter.
public override void _Ready() { var _testImage = new Image(); _testImage = Image.CreateEmpty(256, 256, false, Image.Format.Rgba8); var _testTexture = ImageTexture.CreateFromImage(_testImage); RenderingServer.GlobalShaderParameterSet("texture_test", _testTexture); }
Run the game and try to exit by pressing the red quit button. Notice the game hangs.
Put in the following code and notice the hang goes away:
public override void _ExitTree() { RenderingServer.GlobalShaderParameterSet("texture_test", new Variant()); base._ExitTree(); }
hang-on-exit.zip
The text was updated successfully, but these errors were encountered:
This look like the same problem as #89188, try test Godot 4.4 dev 1 or higher to see if the crash stops. You can download them officially here: https://godotengine.org/download/archive/
Sorry, something went wrong.
Ah, good catch - I didn't initially see the link between the two issues, but indeed 4.4 dev 4 fixes it. Thanks!
No branches or pull requests
Tested versions
System information
MacOS 15.1, any renderer
Issue description
Exiting the game causes a hang and the following error:
This starts happening after using C# to create a texture and bind it to a global shader parameter.
Steps to reproduce
Run the game and try to exit by pressing the red quit button. Notice the game hangs.
Put in the following code and notice the hang goes away:
Minimal reproduction project (MRP)
hang-on-exit.zip
The text was updated successfully, but these errors were encountered: