Some more info after trying to fix it for a while.
my 4.24 wasn’t installed on my computers OS drive so re-installed it there, no change.
Started a new project in 4.24 tried to make a build and got the same error. so hopefully this means my project is safe at least.