23
cursed godot error (www.youtube.com)

had to change how parent component is checked

still not sure what caused this

discord: https://discord.gg/WFwUXe6Em8
stoat: https://stt.gg/6T7e7yb7

you are viewing a single comment's thread
view the rest of the comments
[-] Fizz 1 points 5 months ago

Did you end up figuring out the solution?

[-] MousePotatoDoesStuff@piefed.social 2 points 5 months ago

Yeah, I made the script check whether it's a child of a Node2D before accepting its parent as its component.

Some other solutions might be:

  • removing the @tool modifier (not applicable in my case)
  • making the user manually assign the component (not necessary in this case)
this post was submitted on 09 May 2026
23 points (96.0% liked)

Godot

8004 readers
14 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 3 years ago
MODERATORS