godot messing up with uids

Godot Version



I have two characters in my game and each one has its own state machine.
Both have an idle state and I created the second by duplicating the first and change its class name etc…
Now, I have weird things happening when I modify code here and there. Both states seem to be switched, as well as their controller script.
I have observed in git the changes in the picture attached.
Does anyone has already observed that issue and know how to solve it ?