Pixel font fails to render but works in editor

Godot Version

4.5.1

Question

I recently made a change to my pixel font and now it fails to render correctly but only when I run from VS Code/C#. If I run it in the editor the font is fine. If I export the project and run it from exe, the font is fine. I tried reverting to a previous version of my code (git checkout HEAD~1) but the problem is now present even on previous working versions.

I tried temporarily removing my .godot directory but the problem persisted so I reverted all changes and restored the original .godot directory.

Is there some cache that I need to clear or can anyone think of anything I can try to flush this problem?

Thanks.

Found the issue!

I upgraded godot to 4.5.1 from 4.4.1 and I forgot to modify the debug config in VS Code to use the new executable. Everything worked fine until I modified a font and then (I assume) it somehow got saved as 4.5.1 format instead of 4.4.1 format.