I was writing some code and left the script open in team create overnight. When I woke my PC in the morning, studio had a warning about being an outdated version and then reconnected. None of my scripts were open anymore, and the script recovery was nowhere to be found.
TL;DR outdated studio reconnecting erases your uncommitted changes