If the HUD is hidden when in flight/map view prior to going to the VAB, main menu, or space center, most of or all of the UI elements will also be hidden, sometimes with no way to restore them other than restarting the game.
I'm not a Unity expert, but in my mod, I got the UI.FlightHud gameObject and called SetActive() on it. As far as I can tell this works, but I'm not sure if this is the safest/most graceful way, or if there are any other side effects.
If the HUD is hidden when in flight/map view prior to going to the VAB, main menu, or space center, most of or all of the UI elements will also be hidden, sometimes with no way to restore them other than restarting the game.
I'm not a Unity expert, but in my mod, I got the UI.FlightHud gameObject and called SetActive() on it. As far as I can tell this works, but I'm not sure if this is the safest/most graceful way, or if there are any other side effects.