godotengine / godotengine/godot
VisualShader.get_property_list() returns the deprecated graph_offset property.
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
v4.7.1.stable.arch_linux [a13da4feb]
### System information
Godot v4.7.1.stable (a13da4feb) - CachyOS Linux #1 SMP PREEMPT_DYNAMIC Sun, 26 Jul 2026 08:59:50 +0000 on Wayland - X11 display driver, Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 SUPER (nvidia; 610.43.03) - AMD Ryzen 7 7800X3D 8-Core Processor (16 threads) - 30.45 GiB memory - PulseAudio (44100 Hz, Stereo/mono)
### Issue description
VisualShader.get_property_list() returns the deprecated graph_offset property. Iterating over the returned properties and calling Object.get(property.name) emits the warning:
graph_offset property is deprecated. Getting it always returns Vector2().
This makes generic property inspection impossible without special-casing graph_offset.
### Steps to reproduce
Run the provided script in the editor.
### Minimal reproduction project (MRP)
```
@tool
extends EditorScript
func _run():
var shader := VisualShader.new()
for property in shader.get_property_list():
shader.get(property.name)
```
Contributor guide
Research direction
Run the provided @tool EditorScript reproduction in the editor, then inspect the VisualShader.get_property_list() entry point and how it exposes graph_offset. Done means the deprecated graph_offset property is no longer returned, and iterating over the returned properties with Object.get(property.name) no longer emits the warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100