Redot-Engine / redot-engine

Redot Engine – Multi-platform 2D and 3D game engine
https://redotengine.org/
MIT License
4.78k stars 214 forks source link

[4.3] Redot crashes when you right-click on Color() inside a script #861

Closed iKuroiDev closed 6 days ago

iKuroiDev commented 1 week ago

Tested versions

Redot 4.3 Release Candidate 2 Redot 4.3 Beta 2

System information

Windows 11

Issue description

Redot crashes when you right click a Color() inside a script. It works correctly if there's already a value inside Color(), but it crashes when it's empty

Expected behaviour: Right clicking Color should open an option menu

Steps to reproduce

$Sprite2D.modulate = Color()

$Sprite2D.modulate = Color("FF0000") This one doesn't crash Redot

Minimal reproduction project (MRP)

N/A

Efra-EMX commented 6 days ago

Just tested and I can confirm that this doesn't happen on Godot, so definitely a Redot bug.

Spartan322 commented 6 days ago

Confirmed able to replicate on 4.3-rc.3.

Spartan322 commented 6 days ago

Fixed by #866