RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.01k stars 175 forks source link

Race times are no longer saved #2962

Closed CuriousMike56 closed 1 year ago

CuriousMike56 commented 1 year ago

Upon completing a race, the best time is supposed to be saved to raceTimes.asdata inside the cache folder. Now this happens instead:

14:44:50: [RoR|Script|Notice] New best race time!
14:44:50: Ogre::ItemIdentityException::ItemIdentityException: Cannot locate a resource group called '' in ResourceGroupManager::createResource at C:\Users\runneradmin\.conan\data\ogre3d\1.11.6.1\anotherfoxguy\stable\build\f7f69c899d0ea5d1d2b62305f3102aa1a22dede5\OgreMain\src\OgreResourceGroupManager.cpp (line 757)
14:44:50: [RoR|Scripting|LocalStorage]Error saving file 'P“+ ' (resource group 'Cache'), message: 'Ogre::ItemIdentityException::ItemIdentityException: Cannot locate a resource group called '' in ResourceGroupManager::createResource at C:\Users\runneradmin\.conan\data\ogre3d\1.11.6.1\anotherfoxguy\stable\build\f7f69c899d0ea5d1d2b62305f3102aa1a22dede5\OgreMain\src\OgreResourceGroupManager.cpp (line 757)'

The game does log an error if raceTimes.asdata doesn't exist, so it seems to be loading the file correctly, it just can't write to it.

CuriousMike56 commented 1 year ago

Upon further investigation, saving race times last worked in version 2020.01. (This explains why my raceTimes.asdata was last written to in August 2020) The only commit I can see that could have broke it is https://github.com/RigsOfRods/rigs-of-rods/commit/b59183fe042025df97417e1a4a9a265305aa9360 but I don't currently feel like building older versions of the dependencies in order to do some testing.