Game does cannot boot: "[FATAL] Cannot get Local Appdata directory!"

When trying to boot beammp I get this message.
[FATAL] Cannot get Local Appdata directory!
I have not been able to find anyone else who’s had this issue and cannot fix it myself.
I have both Beammp and Beamng in the local appdata directory.