godot-4-api-pitfalls
Installation
SKILL.md
Godot 4 API pitfalls
Most GDScript in tutorials, forum answers and model training data is Godot 3. Godot 4 renamed classes, methods and properties and changed the GDScript syntax. Some Godot 3 code fails to parse, and some parses but breaks only at runtime. Before writing code, confirm the version: project.godot has a line like config/features=PackedStringArray("4.7", ...).