godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.24k stars 19.18k forks source link

Possible issue in C# Garbage Collection behavior #93459

Open TheOrioli opened 1 week ago

TheOrioli commented 1 week ago

Tested versions

System information

Godot v4.2.2.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 31.0.15.5212) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)

Issue description

To keep it short, the full issue is actually described here https://github.com/TokisanGames/Terrain3D/issues/393 and there is a possibility there is an underlying problem in how the GC is handling resources and gdextension data. I would love it if someone from the csharp team could give it a look and throw some ideas around.

Steps to reproduce

Please see linked issue.

Minimal reproduction project (MRP)

Please see linked issue.

TokisanGames commented 1 week ago

I searched for a duplicate and asked about the issue yesterday on the dotnet godot developer chat, but as of yet haven't received any response.