What does this highlight mean in the editor?

Godot Version

4.5 stable

Question

Did an upgrade from 4.4.1 to 4.5 today. I notice these lines being highlighted in the editor. After searching in the release note I found nothing. Did I miss something?

1 Like

Those are warnings. There’s a little yellow triangle with an exclamation point (!) in the middle at the bottom of the window. If you click on it, it will tell you what the warnings are and how to fix them.

To be clear, they have always been there, they were just made more obvious in 4.5 by highlighting the affected lines. The triangle has always been there.

I suspect that they are telling you that you have declared but not used the variables in your argument list: prev_state and delta respectively.

2 Likes

right on, I just saw them in Errors window.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.