Any ideas why my initial declaration doesn’t work? If I change the variable to character_attack_speed1 it works fine. If I comment out var character_attack_speed := 10.01 it errors. Its not getting changed anywhere else
This tells me that it is indeed being changed somewhere else, maybe in another script, or some default you set somewhere else. It’s not a bug in Godot, but a bug in your game.
A good way to check if something is actually an engine bug or specific to your project is to create a completely new empty project, and ONLY add the lines of code you want to test.