Garbage collection deletes rigidbodies created via PhysicsServer3D (C#)
So I'm creating rigidbodies with visuals via the PhysicsServer3D and RenderinServer, and everything is working fine until suddenly the garage collector kicks in and deletes everything. So how to prevent that and keep my rigidbodies around? Using Godot 4.2 Dev 2 and C#. Thanks in advance if anyone can help me with this
Tags:
- Tomcat
- Posts: 52
- Joined: Tue Jul 18, 2023 6:51 pm
- Location: Moscow (Orcish Stan), The Aggressive Evil Empire
- Contact:
This seems like a grave mistake. I think it should be reported.
— Who's your enemy?
— The whole world.
— Who's your friend?
— The cat.
— The whole world.
— Who's your friend?
— The cat.
- stayathomedev
- Site Admin
- Posts: 82
- Joined: Mon Jul 17, 2023 2:42 pm
Ditto on the report...will either get an answer on this odd behavior or potentially get it fixedRaymond wrote: ↑Sun Aug 06, 2023 2:58 pm So I'm creating rigidbodies with visuals via the PhysicsServer3D and RenderinServer, and everything is working fine until suddenly the garage collector kicks in and deletes everything. So how to prevent that and keep my rigidbodies around? Using Godot 4.2 Dev 2 and C#. Thanks in advance if anyone can help me with this
Stay at home dad and dev
Youtube Channel - https://www.youtube.com/channel/UCDshKI ... CzApleuV8w
Twitter - https://twitter.com/StayAtHomeDev
Youtube Channel - https://www.youtube.com/channel/UCDshKI ... CzApleuV8w
Twitter - https://twitter.com/StayAtHomeDev