-
-
Notifications
You must be signed in to change notification settings - Fork 236
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 reported using '_GenerateBlock' of 'C #' #664
Comments
This is a known issue when you use C# to implement certain functions of the module. The garbage collector prevents from doing sanity checks over Godot RefCounted classes. |
Thank you. Turning off the "voxel/ownership_checks" option will have an impact on other parts of the engine. Will it cause memory leaks? What should I pay attention to when using "C #". Can you also build the "godot.windows.template_release.x86_64.exe" file for the "Mono Builds" version in "Actions"? |
Not really.
No, it just turns off a warning that exists in case you make the mistake of keeping a reference to an object you were not supposed to. That's the case of
I don't know about other C# specific stuff off top of my head.
I can't do that anymore: https://voxel-tools.readthedocs.io/en/latest/getting_the_module/#c-support |
GDScript terrain is normal without any errors.
The terrain of "C #" is normal, but it keeps reporting errors.
C# code
GDScript code
error message
OS: Windows 10
Graphics card: AMD RX480
Godot version: 4.2.2
Module version: https://github.com/Zylann/godot_voxel/actions/runs/9524664823
Renderer used: Vulkan
The text was updated successfully, but these errors were encountered: