Godot 4.6
Currently Godot needs to get focus before reloading gdshader. Auto loading is helpful when using multiple screens.
Godot 4.6
Currently Godot needs to get focus before reloading gdshader. Auto loading is helpful when using multiple screens.
If you are proposing a change, the place to do that is here: Godot Improvement Proposals
If you are asking a question, we will need more info about what you are trying to do, what you’ve tried, and how you expect it to work. Also:
Obviously, gdshader refers to the shader script. It is the same for 2d and 3d. External changes are modifications through external editor, such as vscode.
text_editor/behavior/files/auto_reload_scripts_on_external_change in editor setting.
If true, automatically reloads scripts and text-based shaders in the editor when they have been modified and saved by external editors or tools and the editor regains focus. External changes can be discarded by using the Undo function after they’ve been loaded in the editor.
What I want is that don’t need the editor regains focus, but reload .gdshader directly after saving externally, similar to what interface/editor/behavior/import_resources_when_unfocused does.
Some of your questions aren’t relevant, and I’ve also added extra information. If you’re not familiar with the topic, feel free to skip it rather than creating a dispute.