You can fix the issue by changing the font. Maybe the font you are currently using in Geany is not compatible with Ubuntu 20.
To change the font, select "Change font" from "view". You can select any Linux based font for Geany and then underscore will be visible.