this post was submitted on 08 Dec 2024
16 points (100.0% liked)

Godot

6005 readers
13 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 2 years ago
MODERATORS
 

I'm having trouble figuring out how to tell when a tool script is rebuilt in Godot mono 4.4. When the build project button is pressed the ONLY notification that the node receives is NotificationWMFocusOut and NotificationWMFocusIn so _EnterTree/_ExitTree and _Ready are useless and never called.

My node has several RIDs that are sent to the RenderingServer and PhysicsServer3D but when the project is rebuilt there seems to be NO indication that it is being rebuilt so the node loses reference to all the RIDs (preventing me from freeing them) so they are still visible as ghost objects in the editor that don't go away until I reload project.

Has anyone figured out how to do this properly? I'm totally at a loss...

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here