# Godot 4 answers, verified

Each page answers one Godot 4 error, warning or question. Every answer was run headless on the Godot the Flockbay app ships: the script that causes the problem, then the fix, and the output shown is what Godot printed.

Source: https://flockbay.com/godot/ · Updated 2026-11-09

158 pages.

- ["yield" was removed in Godot 4. Use "await" instead: how to wait](/godot/wait-in-godot-4-await-instead-of-yield/)
  "yield" was removed in Godot 4. Use "await" instead. Godot 3's yield() is gone: wait with await get_tree().create_timer(0.5).timeout. Run on Godot 4.7.2.
- [AnimatedSprite in Godot 4: it is AnimatedSprite2D now](/godot/animatedsprite-in-godot-4/)
  Godot 4 renamed AnimatedSprite to AnimatedSprite2D and frames to sprite_frames. The error, the fix, and Godot 4.7.2's output, verbatim.
- [Area in Godot 4: it is Area3D now](/godot/area-in-godot-4/)
  Godot 4 renamed Area to Area3D. The parse error a Godot 3 trigger script hits, the fix, and what Godot 4.7.2 printed, verbatim.
- [ARVRController in Godot 4: it is XRController3D now](/godot/arvrcontroller-in-godot-4/)
  Godot 4 renamed ARVRController to XRController3D, chosen by tracker name. The parse error, the fix, and Godot 4.7.2's output.
- [ARVROrigin in Godot 4: it is XROrigin3D now](/godot/arvrorigin-in-godot-4/)
  Godot 4 renamed ARVROrigin to XROrigin3D and the ARVR classes to XR. The error, the fix, and Godot 4.7.2's output, verbatim.
- [Assertion failed in Godot 4](/godot/assertion-failed/)
  An assert() condition was false. What Godot 4.7.2 prints, when assert() runs at all, and the fix, with both outputs verbatim.
- [Attempted to free a RefCounted object in Godot 4](/godot/attempted-to-free-a-refcounted-object/)
  free() was called on a RefCounted or Resource. Why Godot frees those itself, the fix, and what 4.7.2 printed for both, verbatim.
- [AudioStreamOGGVorbis in Godot 4: it is AudioStreamOggVorbis now](/godot/audiostreamoggvorbis-in-godot-4/)
  Godot 4 renamed AudioStreamOGGVorbis to AudioStreamOggVorbis. The parse error, the fix, and Godot 4.7.2's output, verbatim.
- [AudioStreamRandomPitch in Godot 4: it is AudioStreamRandomizer now](/godot/audiostreamrandompitch-in-godot-4/)
  Godot 4 replaced AudioStreamRandomPitch with AudioStreamRandomizer, which also picks from a pool. The error, the fix, run on 4.7.2.
- [AudioStreamSample in Godot 4: Identifier "AudioStreamSample" not declared](/godot/audiostreamsample-in-godot-4/)
  Godot 4 renamed AudioStreamSample to AudioStreamWAV, and LOOP_PING_PONG to LOOP_PINGPONG. The parse error, the fix and what Godot 4.7.2 printed.
- [BakedLightmap in Godot 4: it is LightmapGI now](/godot/bakedlightmap-in-godot-4/)
  Godot 4 renamed BakedLightmap to LightmapGI. The parse error a Godot 3 script hits, the fix, and Godot 4.7.2's output, verbatim.
- [BitmapFont in Godot 4: it is FontFile now](/godot/bitmapfont-in-godot-4/)
  Godot 4 replaced BitmapFont with FontFile. The parse error a Godot 3 pixel-font script hits, the fix, and 4.7.2's output, verbatim.
- [Camera in Godot 4: it is Camera3D now](/godot/camera-in-godot-4/)
  Godot 4 renamed Camera to Camera3D. The parse error a Godot 3 camera script hits, the fix, and Godot 4.7.2's output, verbatim.
- [Can Beam 1.0 501B A23B write working Godot 4 code? 12 of 15 on the first try](/godot/beam-1-0-501b-a23b-godot-4-coding-test/)
  Beam 1.0 501B A23B wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 12 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can Claude Fable 5.2 write working Godot 4 code? 15 of 15 on the first try](/godot/claude-fable-5-2-godot-4-coding-test/)
  Claude Fable 5.2 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Claude Haiku 4.5 write working Godot 4 code? 11 of 15 on the first try](/godot/claude-haiku-4-5-godot-4-coding-test/)
  Claude Haiku 4.5 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 11 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can Claude Haiku 5.5 write working Godot 4 code? 14 of 15 on the first try](/godot/claude-haiku-5-5-godot-4-coding-test/)
  Claude Haiku 5.5 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 14 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Claude Opus 5.5 write working Godot 4 code? 15 of 15 on the first try](/godot/claude-opus-5-5-godot-4-coding-test/)
  Claude Opus 5.5 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Claude Sonnet 5.5 write working Godot 4 code? 15 of 15 on the first try](/godot/claude-sonnet-5-5-godot-4-coding-test/)
  Claude Sonnet 5.5 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can DeepSeek V4 Pro 0813 write working Godot 4 code? 14 of 15 on the first try](/godot/deepseek-v4-pro-0813-godot-4-coding-test/)
  DeepSeek V4 Pro 0813 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 14 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can DeepSeek V4.1 Flash write working Godot 4 code? 15 of 15 on the first try](/godot/deepseek-v4-1-flash-godot-4-coding-test/)
  DeepSeek V4.1 Flash wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Ember-1 write working Godot 4 code? 15 of 15 on the first try](/godot/ember-1-godot-4-coding-test/)
  Ember-1 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Fugu Max write working Godot 4 code? 13 of 15 on the first try](/godot/fugu-max-godot-4-coding-test/)
  Fugu Max wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 13 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can Gemini 3.1 Pro Preview write working Godot 4 code? 15 of 15 on the first try](/godot/gemini-3-1-pro-preview-godot-4-coding-test/)
  Gemini 3.1 Pro Preview wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can GLM 5.2 write working Godot 4 code? 14 of 15 on the first try](/godot/glm-5-2-godot-4-coding-test/)
  GLM 5.2 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 14 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can GPT-5.4 write working Godot 4 code? 14 of 15 on the first try](/godot/gpt-5-4-godot-4-coding-test/)
  GPT-5.4 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 14 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can GPT-5.6 Luna write working Godot 4 code? 15 of 15 on the first try](/godot/gpt-5-6-luna-godot-4-coding-test/)
  GPT-5.6 Luna wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can GPT-6 Luna write working Godot 4 code? 15 of 15 on the first try](/godot/gpt-6-luna-godot-4-coding-test/)
  GPT-6 Luna wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can GPT-6.1 Sol write working Godot 4 code? 15 of 15 on the first try](/godot/gpt-6-1-sol-godot-4-coding-test/)
  GPT-6.1 Sol wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Grok 4.3 write working Godot 4 code? 11 of 15 on the first try](/godot/grok-4-3-godot-4-coding-test/)
  Grok 4.3 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 11 passed on the first try, 13 after one fix. The code, the errors and the checks.
- [Can Hy4 preview write working Godot 4 code? 15 of 15 on the first try](/godot/hy4-preview-godot-4-coding-test/)
  Hy4 preview wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Kimi K3 write working Godot 4 code? 15 of 15 on the first try](/godot/kimi-k3-godot-4-coding-test/)
  Kimi K3 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Laguna S 2.1 write working Godot 4 code? 9 of 15 on the first try](/godot/laguna-s-2-1-godot-4-coding-test/)
  Laguna S 2.1 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 9 passed on the first try, 12 after one fix. The code, the errors and the checks.
- [Can LongCat 2.0 write working Godot 4 code? 11 of 15 on the first try](/godot/longcat-2-0-godot-4-coding-test/)
  LongCat 2.0 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 11 passed on the first try, 13 after one fix. The code, the errors and the checks.
- [Can MiMo-V2.6-Pro-UltraSpeed write working Godot 4 code? 14 of 15 on the first try](/godot/mimo-v2-6-pro-ultraspeed-godot-4-coding-test/)
  MiMo-V2.6-Pro-UltraSpeed wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 14 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can MiniMax M3 write working Godot 4 code? 13 of 15 on the first try](/godot/minimax-m3-godot-4-coding-test/)
  MiniMax M3 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 13 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can Mistral Large 4 write working Godot 4 code? 12 of 15 on the first try](/godot/mistral-large-4-godot-4-coding-test/)
  Mistral Large 4 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 12 passed on the first try, 13 after one fix. The code, the errors and the checks.
- [Can Muse Wonder write working Godot 4 code? 15 of 15 on the first try](/godot/muse-wonder-godot-4-coding-test/)
  Muse Wonder wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Nemotron 3.5 Super VL write working Godot 4 code? 11 of 15 on the first try](/godot/nemotron-3-5-super-vl-godot-4-coding-test/)
  Nemotron 3.5 Super VL wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 11 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can Nova 2 Lite write working Godot 4 code? 2 of 15 on the first try](/godot/nova-2-lite-godot-4-coding-test/)
  Nova 2 Lite wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 2 passed on the first try, 4 after one fix. The code, the errors and the checks.
- [Can Pareto 26.10 write working Godot 4 code? 15 of 15 on the first try](/godot/pareto-26-10-godot-4-coding-test/)
  Pareto 26.10 wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 15 passed on the first try, 15 after one fix. The code, the errors and the checks.
- [Can Qwen3.7 Max write working Godot 4 code? 13 of 15 on the first try](/godot/qwen3-7-max-godot-4-coding-test/)
  Qwen3.7 Max wrote GDScript for 15 Godot 4 tasks and each was run headless on Godot 4.7.2: 13 passed on the first try, 14 after one fix. The code, the errors and the checks.
- [Can't add child '…' to '…', already has a parent '…' in Godot 4](/godot/cant-add-child-already-has-a-parent/)
  add_child() was called on a node that is already in the tree. Why Godot 4.7.2 refuses, the fix with reparent(), and both outputs.
- [Can't change this state while flushing queries. Use call_deferred() or set_deferred() to change monitoring state instead in Godot 4](/godot/cant-change-this-state-while-flushing-queries/)
  A collision shape was disabled inside a physics callback. Why Godot 4.7.2 refuses, the set_deferred() fix, and both outputs, verbatim.
- [Cannot assign a new value to a constant in Godot 4](/godot/cannot-assign-a-new-value-to-a-constant/)
  A const was assigned after its declaration. What Godot 4.7.2's analyzer checks, the fix, and what it printed for both, verbatim.
- [Cannot call method '…' on a null value in Godot 4](/godot/cannot-call-method-on-a-null-value/)
  A method was called on a typed variable that holds null. What Godot 4.7.2 checks, the usual causes, and the fix, run verbatim.
- [Cannot call method '…' on a previously freed instance in Godot 4](/godot/cannot-call-method-on-a-previously-freed-instance/)
  A method was called on a typed variable whose node was freed. What Godot 4.7.2 checks, the fix with is_instance_valid(), run verbatim.
- [Cannot find member "…" in base "…" in Godot 4](/godot/cannot-find-member-in-base/)
  A constant, enum value or property name does not exist on that type. What Godot 4.7.2 checks, the fix, and both outputs, verbatim.
- [Cannot get return value of call to "…()" because it returns "void" in Godot 4](/godot/cannot-get-return-value-because-it-returns-void/)
  A function declared -> void was used as if it returned a value. The parse error, the fix, and what Godot 4.7.2 printed, verbatim.
- [Cannot infer the type of "…" variable because the value is "null" in Godot 4](/godot/cannot-infer-the-type-because-the-value-is-null/)
  var x := null has no type to infer. What Godot 4.7.2's analyzer checks, the fix, and what it printed for both, verbatim.
- [ClippedCamera in Godot 4: use a SpringArm3D with a Camera3D](/godot/clippedcamera-in-godot-4/)
  Godot 4 removed ClippedCamera; a Camera3D under a SpringArm3D keeps out of walls. The error, the fix, and Godot 4.7.2's output.
- [CollisionShape in Godot 4: it is CollisionShape3D now](/godot/collisionshape-in-godot-4/)
  Godot 4 renamed CollisionShape to CollisionShape3D. The parse error a Godot 3 script hits, the fix, and Godot 4.7.2's output.
- [Could not find base class "KinematicBody2D" in Godot 4: it is CharacterBody2D now](/godot/kinematicbody2d-in-godot-4/)
  Could not find base class "KinematicBody2D". Godot 4 renamed it CharacterBody2D, and move_and_slide() takes no arguments. The fix, run on Godot 4.7.2.
- [CSGSphere in Godot 4: it is CSGSphere3D now](/godot/csgsphere-in-godot-4/)
  Godot 4 renamed CSGSphere to CSGSphere3D, and every CSG node gained the 3D suffix. The error, the fix, run on 4.7.2.
- [DirectionalLight in Godot 4: it is DirectionalLight3D now](/godot/directionallight-in-godot-4/)
  Godot 4 renamed DirectionalLight to DirectionalLight3D. The parse error a Godot 3 sun script hits, the fix, and 4.7.2's output.
- [Does Godot use Python? No: GDScript looks like Python, and here is where it is not](/godot/does-godot-use-python/)
  Godot's own language is GDScript, not Python. Python code Godot rejects, the same thing in GDScript, and what Godot 4.7.2 printed for both.
- [DynamicFont in Godot 4: it is FontFile now](/godot/dynamicfont-in-godot-4/)
  Godot 4 replaced DynamicFont with FontFile, and font size moved to the control. The error, the fix, and Godot 4.7.2's output.
- [Expected end of statement after variable declaration, found "Identifier" instead in Godot 4](/godot/expected-end-of-statement-after-variable-declaration/)
  Two statements share a line with no separator. What Godot 4.7.2's parser expects, the fix, and what it printed for both, verbatim.
- [Expected end of statement after variable declaration, found "Identifier" instead: setget in Godot 4](/godot/setget-in-godot-4/)
  Expected end of statement after variable declaration, found "Identifier" instead. Godot 4 removed setget: write set and get on the variable itself.
- [Expected indented block after function declaration in Godot 4](/godot/expected-indented-block-after-function-declaration/)
  A func line is followed by nothing indented. What Godot 4.7.2's parser expects, the fix with pass, and both outputs, verbatim.
- [Function "…()" not found in base self in Godot 4](/godot/function-not-found-in-base-self/)
  A function was called that this script and its parent classes do not have. What Godot 4.7.2 checks, the causes, and the fix, verbatim.
- [GIProbe in Godot 4: it is VoxelGI now](/godot/giprobe-in-godot-4/)
  Godot 4 renamed GIProbe to VoxelGI. The parse error a Godot 3 lighting script hits, the fix, and Godot 4.7.2's output, verbatim.
- [Godot 4.6 to 4.7: every API change, class by class](/godot/4-6-to-4-7-api-changes/)
  13 new classes, 529 new methods, properties, signals and constants, 54 removed and 186 deprecated between Godot 4.6 and 4.7, from Godot's own class reference.
- [How to change scenes in Godot 4: change_scene_to_file()](/godot/how-to-change-scenes-in-godot-4/)
  Godot 4 renamed change_scene() to change_scene_to_file() and change_scene_to() to change_scene_to_packed(). The error, the fix, run on 4.7.2.
- [How to connect signals in code in Godot 4: signal.connect(callable)](/godot/how-to-connect-signals-in-code-in-godot-4/)
  Godot 4 connects a signal to a Callable: timer.timeout.connect(_on_timeout). The Godot 3 connect() form's errors, the fix, run on 4.7.2.
- [How to disable and enable a node in Godot 4: process_mode](/godot/how-to-disable-a-node-in-godot-4/)
  Set process_mode to PROCESS_MODE_DISABLED to stop a node, and hide() it to stop drawing. Godot 3's pause_mode is gone. Run on 4.7.2.
- [How to get a random number in Godot 4: randi_range() and randf_range()](/godot/how-to-get-a-random-number-in-godot-4/)
  Godot 4 renamed rand_range() to randf_range() and added randi_range(). The error, seeded and unseeded random numbers, run on 4.7.2.
- [How to get collisions after move_and_slide() in Godot 4](/godot/how-to-get-collisions-after-move-and-slide-in-godot-4/)
  Godot 4 renamed get_slide_count() to get_slide_collision_count(). The error, reading what a CharacterBody2D hit, run on 4.7.2.
- [How to get the class name of a node in Godot 4: get_class() and get_global_name()](/godot/how-to-get-the-class-name-of-a-node-in-godot-4/)
  get_class() gives the engine class; a script's class_name comes from get_script().get_global_name(). Why .class_name fails, run on 4.7.2.
- [How to get the current date and time in Godot 4: the Time singleton](/godot/how-to-get-the-current-date-and-time-in-godot-4/)
  Godot 4 moved OS.get_datetime() to the Time singleton. The error, Time.get_datetime_dict_from_system() and friends, run on 4.7.2.
- [How to parse JSON in Godot 4: JSON.parse_string()](/godot/how-to-parse-json-in-godot-4/)
  Godot 4's JSON.parse_string() returns the data directly; JSON.parse() is an instance method now. The error and the fix, run on 4.7.2.
- [How to raycast from code in Godot 4: PhysicsRayQueryParameters2D](/godot/how-to-raycast-from-code-in-godot-4/)
  Godot 4's intersect_ray() takes a PhysicsRayQueryParameters2D, not two points. The Godot 3 errors, a working ray, run on 4.7.2.
- [How to remap input actions in code in Godot 4: InputMap and keycode](/godot/how-to-remap-input-in-code-in-godot-4/)
  Godot 4 renamed InputEventKey.scancode to keycode and physical_keycode. The error, rebinding an action with InputMap, run on 4.7.2.
- [How to save and load a game in Godot 4: FileAccess](/godot/how-to-save-a-game-in-godot-4/)
  Godot 4 saves with FileAccess, not File. Write a Dictionary to user:// with store_var() and read it back, run on 4.7.2, with the Godot 3 error.
- [How to set the window size in Godot 4: get_window().size](/godot/how-to-set-the-window-size-in-godot-4/)
  Godot 4 moved window control from OS to Window and DisplayServer. OS.window_size's error, setting the size in code, run on 4.7.2.
- [How to tween in Godot 4: create_tween() and tween_property()](/godot/how-to-tween-in-godot-4/)
  Godot 4 tweens are made with create_tween(), not a Tween node. The Godot 3 errors, the working tween, and Godot 4.7.2's output for both.
- [Identifier "…" not declared in the current scope in Godot 4](/godot/identifier-not-declared-in-the-current-scope/)
  GDScript found a name it cannot resolve. What Godot 4.7.2's analyzer looks for, the usual causes, and the fix, with both outputs verbatim.
- [In Object of type '…': Attempt to connect nonexistent signal '…' to callable '…' in Godot 4](/godot/attempt-to-connect-nonexistent-signal/)
  connect() named a signal the object does not have. What Godot 4.7.2 checks, the fix, and what it printed for both, verbatim.
- [Invalid access of index '…' on a base object of type: 'Array' in Godot 4](/godot/invalid-access-of-index-on-array/)
  An untyped array was read past its last element. What Godot 4.7.2 checks, the fix, and what it printed for both, verbatim.
- [Invalid access to property or key '…' on a base object of type 'Dictionary' in Godot 4](/godot/invalid-access-to-property-or-key-on-dictionary/)
  A Dictionary was read with a key it does not have. What Godot 4.7.2 checks, the fixes with get() and has(), and what it printed, verbatim.
- [Invalid access to property or key 'position' on a base object of type 'Nil' in Godot 4](/godot/invalid-access-to-property-or-key-on-nil/)
  Invalid access to property or key 'position' on a base object of type 'Nil'. In Godot 4 the variable before the dot is empty: assign it, then check it.
- [Invalid access to property or key 'position' on a base object of type 'null instance' in Godot 4](/godot/invalid-access-to-property-or-key-on-null-instance/)
  Invalid access to property or key 'position' on a base object of type 'null instance'. In Godot 4 the node path found no node: fix the path or the scene.
- [Invalid access to property or key on a base object of type 'previously freed' in Godot 4](/godot/invalid-access-to-property-or-key-on-previously-freed/)
  Godot 4 prints this when your variable still points at a node that was freed. A script that causes it, the is_instance_valid fix, and Godot 4.7.2's output.
- [Invalid argument for "…()" function: argument 1 should be "…" but is "…" in Godot 4](/godot/invalid-argument-for-function-argument-should-be/)
  A function was passed a value of the wrong type, and the analyzer caught it. What Godot 4.7.2 checks, the fix, and both outputs.
- [Invalid assignment of index '…' (on base: 'Array') with value of type '…' in Godot 4](/godot/invalid-assignment-of-index-on-array/)
  A value was written past the end of an array. What Godot 4.7.2 checks, why arrays do not grow on assignment, and the fix, run verbatim.
- [Invalid assignment of property or key '…' with value of type '…' on a base object of type 'Node2D' in Godot 4](/godot/invalid-assignment-of-property-or-key-on-node2d/)
  A property name was misspelled on a node. Why Godot 4.7.2 reports it at run time, the fix, and what it printed for both, verbatim.
- [Invalid assignment of property or key '…' with value of type '…' on a base object of type 'String' in Godot 4](/godot/invalid-assignment-of-property-or-key-on-string/)
  A property was set on a String that has no such property. What Godot 4.7.2 checks, the fix, and what it printed, verbatim.
- [Invalid assignment of property or key 'text' with value of type 'String' on a base object of type 'Nil' in Godot 4](/godot/invalid-assignment-of-property-or-key-on-nil/)
  Invalid assignment of property or key 'text' with value of type 'String' on a base object of type 'Nil'. In Godot 4 the variable is empty: assign it first.
- [Invalid assignment on read-only value (on base: 'Array') in Godot 4](/godot/invalid-assignment-on-read-only-value/)
  An element of a const array was changed. Why constant arrays and dictionaries are read-only in Godot 4, and the fix, run on 4.7.2.
- [Invalid call to function '…' in base '…'. Expected N argument(s) in Godot 4](/godot/invalid-call-to-function-expected-arguments/)
  Invalid call to function 'take_damage' in base 'Node (repro.gd)'. Expected 1 argument(s). In Godot 4 the call passed too few or too many arguments.
- [Invalid call. Nonexistent function '…' in base 'Nil' in Godot 4](/godot/nonexistent-function-in-base-nil/)
  A method was called on a variable that is null. What Godot 4.7.2 checks, the usual causes, and the fix, run verbatim.
- [Invalid call. Nonexistent function 'instance' in base 'PackedScene' in Godot 4](/godot/nonexistent-function-instance-in-base-packedscene/)
  Invalid call. Nonexistent function 'instance' in base 'PackedScene'. Godot 4 renamed instance() to instantiate(). The fix, run on Godot 4.7.2.
- [Invalid cast: can't convert a non-object value to an object type in Godot 4](/godot/invalid-cast-cant-convert-a-non-object-value-to-an-object-type/)
  A value that is not an Object was cast with 'as' to a node or class type. What Godot 4.7.2 checks, the fix, run verbatim.
- [Invalid cast: could not convert value to '…' in Godot 4](/godot/invalid-cast-could-not-convert-value/)
  A built-in value was cast with 'as' to a type it cannot become. What Godot 4.7.2 checks, which casts work, and the fix, run verbatim.
- [Invalid operands 'Nil' and 'int' in operator '+' in Godot 4](/godot/invalid-operands-nil-and-int/)
  A variable that was never assigned was used in arithmetic. What Godot 4.7.2 checks, the fix, and what it printed for both, verbatim.
- [Invalid operands 'String' and 'int' in operator '+' in Godot 4](/godot/invalid-operands-string-and-int-in-operator-plus/)
  A String and an int were added with +. Why GDScript does not convert them, the three fixes, and what Godot 4.7.2 printed, verbatim.
- [Invalid type in static function 'from_angle' in type 'Vector2'. Cannot convert argument 1 from String to float in Godot 4](/godot/invalid-type-in-static-function-cannot-convert-argument/)
  Invalid type in static function 'from_angle' in type 'Vector2'. Cannot convert argument 1 from String to float. In Godot 4, convert the argument first.
- [KinematicBody in Godot 4: it is CharacterBody3D now](/godot/kinematicbody-in-godot-4/)
  Godot 4 renamed KinematicBody to CharacterBody3D, and move_and_slide() takes no arguments. The error, the fix, run on 4.7.2.
- [Left operand of 'is' is a previously freed instance in Godot 4](/godot/left-operand-of-is-is-a-previously-freed-instance/)
  An 'is' type check ran on a node that was already freed. What Godot 4.7.2 checks, the fix with is_instance_valid(), run verbatim.
- [Listener in Godot 4: it is AudioListener3D now](/godot/listener-in-godot-4/)
  Godot 4 renamed Listener to AudioListener3D. The parse error a Godot 3 audio script hits, the fix, and Godot 4.7.2's output.
- [MeshInstance in Godot 4: it is MeshInstance3D now](/godot/meshinstance-in-godot-4/)
  Godot 4 renamed MeshInstance to MeshInstance3D. The parse error a Godot 3 script hits, the fix, and Godot 4.7.2's output, verbatim.
- [NavigationPolygonInstance in Godot 4: it is NavigationRegion2D now](/godot/navigationpolygoninstance-in-godot-4/)
  Godot 4 renamed NavigationPolygonInstance to NavigationRegion2D. The parse error, the fix, and Godot 4.7.2's output, verbatim.
- [Node not found: "…" (relative to "…") in Godot 4](/godot/node-not-found-relative-to/)
  get_node() or $Name found no node at that path. How Godot 4.7.2 resolves the path, the fixes, and what it printed, verbatim.
- [OmniLight in Godot 4: it is OmniLight3D now](/godot/omnilight-in-godot-4/)
  Godot 4 renamed OmniLight to OmniLight3D. The parse error a Godot 3 lighting script hits, the fix, and Godot 4.7.2's output.
- [OpenSimplexNoise in Godot 4: it is FastNoiseLite now](/godot/opensimplexnoise-in-godot-4/)
  Godot 4 replaced OpenSimplexNoise with FastNoiseLite, and period with frequency. The error, the fix, and Godot 4.7.2's output, verbatim.
- [Out of bounds get index '…' (on base: 'Array') in Godot 4](/godot/out-of-bounds-get-index/)
  A typed Array or String was read past its end. What Godot 4.7.2 checks, the fix, and what it printed for both, verbatim.
- [Parent node is busy setting up children, `add_child()` failed in Godot 4](/godot/parent-node-is-busy-setting-up-children/)
  add_child() was called on a parent that is still adding its own children. Why, the call_deferred() fix, and Godot 4.7.2's output.
- [Particles in Godot 4: it is GPUParticles3D now](/godot/particles-in-godot-4/)
  Godot 4 renamed the 3D Particles node to GPUParticles3D. The parse error a Godot 3 script hits, the fix, and 4.7.2's output.
- [Particles2D in Godot 4: it is GPUParticles2D now](/godot/particles2d-in-godot-4/)
  Godot 4 renamed Particles2D to GPUParticles2D. The parse error a Godot 3 script hits, the fix, and Godot 4.7.2's output, verbatim.
- [Path in Godot 4: it is Path3D now](/godot/path-in-godot-4/)
  Godot 4 renamed the 3D Path node to Path3D. The parse error a Godot 3 script hits, the fix, and what Godot 4.7.2 printed, verbatim.
- [PathFollow in Godot 4: it is PathFollow3D now](/godot/pathfollow-in-godot-4/)
  Godot 4 renamed PathFollow to PathFollow3D and offset to progress. The error, the fix, and Godot 4.7.2's output, verbatim.
- [Physics2DDirectBodyState in Godot 4: it is PhysicsDirectBodyState2D now](/godot/physics2ddirectbodystate-in-godot-4/)
  Godot 4 renamed Physics2DDirectBodyState to PhysicsDirectBodyState2D, the argument of _integrate_forces(). The error and fix, run on 4.7.2.
- [Physics2DServerSW in Godot 4: Identifier "Physics2DServerSW" not declared](/godot/physics2dserversw-in-godot-4/)
  Godot 4 renamed Physics2DServerSW to GodotPhysicsServer2D, but GDScript cannot name it. Call the PhysicsServer2D singleton. The error, fix and 4.7.2 output.
- [PhysicsDirectSpaceState in Godot 4: it is PhysicsDirectSpaceState3D now](/godot/physicsdirectspacestate-in-godot-4/)
  Godot 4 renamed PhysicsDirectSpaceState to PhysicsDirectSpaceState3D, and its queries take query objects. The error, the fix, run on 4.7.2.
- [PhysicsTestMotionResult in Godot 4: Identifier "PhysicsTestMotionResult" not declared](/godot/physicstestmotionresult-in-godot-4/)
  Godot 4 renamed PhysicsTestMotionResult to PhysicsTestMotionResult3D and body_test_motion takes a parameters object. The error, the fix, and the 4.7.2 output.
- [PoolStringArray in Godot 4: it is PackedStringArray now](/godot/poolstringarray-in-godot-4/)
  Godot 4 renamed PoolStringArray to PackedStringArray, and join() moved to the separator. The errors, the fix, run on 4.7.2.
- [PopupDialog in Godot 4: it is Popup now](/godot/popupdialog-in-godot-4/)
  Godot 4 replaced PopupDialog with Popup, which is a Window now. The parse error, the fix, and Godot 4.7.2's output, verbatim.
- [Position2D in Godot 4: it is Marker2D now](/godot/position2d-in-godot-4/)
  Godot 4 renamed Position2D to Marker2D. The parse error a Godot 3 spawn point hits, the fix, and what Godot 4.7.2 printed, verbatim.
- [Preload file "…" does not exist in Godot 4](/godot/preload-file-does-not-exist/)
  preload() points at a path with no file. What Godot 4.7.2 checks when the script loads, the fixes, and both outputs, verbatim.
- [Quat in Godot 4: it is Quaternion now](/godot/quat-in-godot-4/)
  Godot 4 renamed the Quat type to Quaternion. The parse error a Godot 3 rotation hits, the fix, and Godot 4.7.2's output, verbatim.
- [RayCast in Godot 4: it is RayCast3D now](/godot/raycast-in-godot-4/)
  Godot 4 renamed RayCast to RayCast3D and cast_to to target_position. The error, the fix, and Godot 4.7.2's output, verbatim.
- [Reference in Godot 4: it is RefCounted now](/godot/reference-in-godot-4/)
  Godot 4 renamed Reference to RefCounted. The parse error a Godot 3 class hits, the fix, and what Godot 4.7.2 printed for both, verbatim.
- [RigidBody in Godot 4: it is RigidBody3D now](/godot/rigidbody-in-godot-4/)
  Godot 4 renamed RigidBody to RigidBody3D and replaced mode with freeze. The error, the fix, and Godot 4.7.2's output, verbatim.
- [Signal '…' is already connected to given callable '…' in that object in Godot 4](/godot/signal-is-already-connected-to-given-callable/)
  The same signal was connected to the same method twice. What Godot 4.7.2 checks, the fixes, and what it printed for both, verbatim.
- [Spatial in Godot 4: Could not find base class "Spatial"](/godot/spatial-in-godot-4/)
  Godot 4 renamed Spatial to Node3D and its translation to position. The parse error a Godot 3 3D script hits, the fix, and what Godot 4.7.2 printed for both.
- [SpatialMaterial in Godot 4: it is StandardMaterial3D now](/godot/spatialmaterial-in-godot-4/)
  Godot 4 renamed SpatialMaterial to StandardMaterial3D. The parse error a Godot 3 material script hits, the fix, and 4.7.2's output.
- [SpotLight in Godot 4: it is SpotLight3D now](/godot/spotlight-in-godot-4/)
  Godot 4 renamed SpotLight to SpotLight3D. The parse error a Godot 3 lighting script hits, the fix, and Godot 4.7.2's output.
- [SpringArm in Godot 4: it is SpringArm3D now](/godot/springarm-in-godot-4/)
  Godot 4 renamed SpringArm to SpringArm3D. The parse error a Godot 3 camera rig hits, the fix, and Godot 4.7.2's output, verbatim.
- [Sprite in Godot 4: it is Sprite2D now](/godot/sprite-in-godot-4/)
  Godot 4 renamed Sprite to Sprite2D. The parse error a Godot 3 script hits, the fix, and what Godot 4.7.2 printed for both, verbatim.
- [StaticBody in Godot 4: it is StaticBody3D now](/godot/staticbody-in-godot-4/)
  Godot 4 renamed StaticBody to StaticBody3D. The parse error a Godot 3 script hits, the fix, and Godot 4.7.2's output, verbatim.
- [StreamCubemapArray in Godot 4: Identifier not declared in the current scope](/godot/streamcubemaparray-in-godot-4/)
  Godot 4 renamed StreamCubemapArray to CompressedCubemapArray. The parse error a Godot 3 script hits, the fix, and what Godot 4.7.2 printed for both.
- [StreamTexture in Godot 4: Could not find type "StreamTexture"](/godot/streamtexture-in-godot-4/)
  Godot 4 renamed StreamTexture to CompressedTexture2D. The parse error a Godot 3 texture script hits, the fix, and what Godot 4.7.2 printed for both.
- [Tabs in Godot 4: it is TabBar now](/godot/tabs-in-godot-4/)
  Godot 4 renamed the Tabs control to TabBar. The parse error a Godot 3 UI script hits, the fix, and Godot 4.7.2's output, verbatim.
- [TextureProgress in Godot 4: it is TextureProgressBar now](/godot/textureprogress-in-godot-4/)
  Godot 4 renamed TextureProgress to TextureProgressBar. The parse error a Godot 3 health bar hits, the fix, and 4.7.2's output.
- [The "export" keyword was removed in Godot 4: every export(...) and its @export annotation](/godot/export-keyword-removed-in-godot-4/)
  Godot 4 replaced export var and export(...) with annotations. The parse error a Godot 3 script hits, and every export hint as its Godot 4 annotation, run on Godot 4.7.2.
- [The "onready" keyword was removed in Godot 4: use @onready](/godot/onready-keyword-removed-in-godot-4/)
  Godot 4 replaced onready var with the @onready annotation. The parse error a Godot 3 script hits, the fix, and what Godot 4.7.2 printed for both.
- [The "tool" keyword was removed in Godot 4: use @tool](/godot/tool-keyword-removed-in-godot-4/)
  Godot 4 replaced the tool keyword with the @tool annotation and Engine.editor_hint with Engine.is_editor_hint(). The parse error, the fix, and Godot 4.7.2's output.
- [The function signature doesn't match the parent. Parent signature is "…" in Godot 4](/godot/function-signature-doesnt-match-the-parent/)
  A virtual method like _process() was declared with the wrong parameters. What Godot 4.7.2 checks, the fix, and both outputs, verbatim.
- [The variable type is being inferred from a Variant value, so it will be typed as Variant in Godot 4](/godot/the-variable-type-is-being-inferred-from-a-variant-value/)
  A := declaration took its type from a Variant, and Godot 4 treats that warning as an error by default. Why, and the fix, run on 4.7.2.
- [Too few arguments for "…()" call. Expected at least N but received M in Godot 4](/godot/too-few-arguments-for-call-expected-at-least/)
  A function was called with fewer arguments than it requires, and the analyzer caught it. Godot 4.7.2's check, the fix, run verbatim.
- [ToolButton in Godot 4: use a flat Button](/godot/toolbutton-in-godot-4/)
  Godot 4 removed ToolButton; a Button with flat = true does the same. The error, the fix, and Godot 4.7.2's output, verbatim.
- [Trying to assign a non-object value to a variable of type '…' in Godot 4](/godot/trying-to-assign-a-non-object-value-to-a-variable-of-type/)
  Trying to assign a non-object value to a variable of type 'repro.gd'. In Godot 4 a variable typed with a script class got a String, int or other plain value.
- [Trying to assign an array of type "Array" to a variable of type "Array[…]" in Godot 4](/godot/trying-to-assign-an-array-of-type-to-a-variable-of-type-array/)
  An untyped array was stored in a typed Array variable. Why Godot 4 refuses it, the fix with assign(), and 4.7.2's output, verbatim.
- [Trying to assign value of type 'String' to a variable of type 'int' in Godot 4](/godot/trying-to-assign-value-of-type-string-to-int/)
  Text was stored in a typed int variable. Why Godot 4 does not convert it, the fix with to_int(), and what 4.7.2 printed, verbatim.
- [Trying to call an async function without "await" in Godot 4](/godot/trying-to-call-an-async-function-without-await/)
  Trying to call an async function without "await". In Godot 4 the function is a coroutine: put await before the call to get its return value.
- [Trying to cast a freed object in Godot 4](/godot/trying-to-cast-a-freed-object/)
  An 'as' cast ran on a node that was already freed. What Godot 4.7.2 checks, the fix with is_instance_valid(), and the output, verbatim.
- [Trying to return a value of type "…" from a function whose return type is "…" in Godot 4](/godot/trying-to-return-a-value-of-type-from-a-function-whose-return-type-is/)
  A function returned a value that does not match its declared return type. What Godot 4.7.2 checks, the fix, run verbatim.
- [Unable to iterate on object of type 'Nil' in Godot 4](/godot/unable-to-iterate-on-object-of-type-nil/)
  A for loop ran over a variable that is null. What Godot 4.7.2 checks, the fix, and what it printed for both, verbatim.
- [Unable to obtain iterator object of type 'Object' (but was obtained on first iteration?) in Godot 4](/godot/unable-to-obtain-iterator-object-but-was-obtained-on-first-iteration/)
  A custom iterator stopped answering _iter_get() partway through a for loop. What Godot 4.7.2 checks, the fix, and what it printed for both, verbatim.
- [Unexpected identifier "…" in class body in Godot 4](/godot/unexpected-identifier-in-class-body/)
  A statement sits outside any function. What Godot 4.7.2's parser allows at class level, the fix, and both outputs, verbatim.
- [Used tab character for indentation instead of space as used before in the file in Godot 4](/godot/used-tab-character-for-indentation-instead-of-space/)
  A GDScript file mixes tabs and spaces. What Godot 4.7.2's tokenizer checks, how to fix the file, and both outputs, verbatim.
- [VideoPlayer in Godot 4: it is VideoStreamPlayer now](/godot/videoplayer-in-godot-4/)
  Godot 4 renamed VideoPlayer to VideoStreamPlayer. The parse error a Godot 3 cutscene script hits, the fix, and 4.7.2's output.
- [ViewportContainer in Godot 4: it is SubViewportContainer now](/godot/viewportcontainer-in-godot-4/)
  Godot 4 renamed ViewportContainer to SubViewportContainer and Viewport to SubViewport. The error, the fix, and 4.7.2's output.
- [VisibilityEnabler2D in Godot 4: it is VisibleOnScreenEnabler2D now](/godot/visibilityenabler2d-in-godot-4/)
  Godot 4 renamed VisibilityEnabler2D to VisibleOnScreenEnabler2D. The parse error, the fix, and Godot 4.7.2's output, verbatim.
- [VisibilityNotifier2D in Godot 4: it is VisibleOnScreenNotifier2D now](/godot/visibilitynotifier2d-in-godot-4/)
  Godot 4 renamed VisibilityNotifier2D to VisibleOnScreenNotifier2D. The error, the fix, and Godot 4.7.2's output, verbatim.
- [VisualShaderNodeVectorScalarSmoothStep in Godot 4: Identifier not declared in the current scope](/godot/visualshadernodevectorscalarsmoothstep-in-godot-4/)
  Godot 4 folded VisualShaderNodeVectorScalarSmoothStep into VisualShaderNodeSmoothStep with an op_type. The parse error, the fix, and what Godot 4.7.2 printed.
- [WindowDialog in Godot 4: it is Window now](/godot/windowdialog-in-godot-4/)
  Godot 4 replaced WindowDialog with Window. The parse error a Godot 3 dialog script hits, the fix, and Godot 4.7.2's output.
- [YSort in Godot 4: use y_sort_enabled on a Node2D](/godot/ysort-in-godot-4/)
  Godot 4 removed the YSort node; every CanvasItem has y_sort_enabled instead. The error, the fix, and Godot 4.7.2's output, verbatim.
