Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot crashes when adding comma in call to tween_property() #101630

Closed
JakobTBech opened this issue Jan 16, 2025 · 0 comments · Fixed by #101632
Closed

Godot crashes when adding comma in call to tween_property() #101630

JakobTBech opened this issue Jan 16, 2025 · 0 comments · Fixed by #101632

Comments

@JakobTBech
Copy link

Tested versions

I'm new to Godot and have only ever used: Godot v 4.3.stable.ofiicial

System information

Godot v4.3.stable - Windows 10.0.26100 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 32.0.15.6636) - AMD Ryzen 7 9800X3D 8-Core Processor (16 Threads)

Issue description

Using GDScript:
Creating a tween and then calling .tween_property(,) with a comma (,) as the only parameter instantly crashes Godot.
This happens in the editor as I'm writing the code i.e. not at runtime.
Happens consistently across projects and scripts.

Code sample:

var tween = get_tree().create_tween()
tween.tween_property(,)

Steps to reproduce

  1. Create a GDScript on e.g. a Node2D
  2. Write this code inside a function (or anywhere actually):
var tween = get_tree().create_tween()
tween.tween_property()
  1. Add a comma in the tween_property() call like so: tween_property(,)
  2. Observe the crash :-/

Here's a short recording of the bug where you can see the editor crashing to desktop at the end:
https://github.com/user-attachments/assets/650f35a1-fbc4-422b-af5b-b6c63f12f056

Minimal reproduction project (MRP)

N/A - the issue is reproducible in a brand new project

@bruvzg bruvzg added this to the 4.4 milestone Jan 16, 2025
@bruvzg bruvzg self-assigned this Jan 16, 2025
@akien-mga akien-mga changed the title Gogot crashes when adding comma in call to tween_property() Godot crashes when adding comma in call to tween_property() Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants