Screenshorts won't get saved if Save Data folder is changed

Started by Der Failer, January 10, 2016, 11:15:38 AM

Previous topic - Next topic

Der Failer

I found a bug where the game don't save screenshots.
I'm using a modified shortcut to change the Save Data folder like explained here or here. I'm using the "-savedatafolder SaveData" method. This works all fine for the saves, worlds and configs, but if make a screenshot the game wont save it and show this "Failed to store screen shot" the outputlog.txt (is attached).
I found also that if shortcut is modified like this '-savedatafolder "D:\Games\RimWorld\RimWorld914Win\SaveData"' screenshots will be saved properly.

[attachment deleted due to age]

milon

I'm guessing that "-savedatafolder SaveData" causes the screenshots directory to get an invalid path/handle.  Good to know that a full path works, but that ruins its portability. 

Did the screenshot folder already exist when you used "-savedatafolder SaveData"?  Did you try using a current-path variable (%CD% on Windows)?  Does anyone know if screenshots can have its own commandline argument?

skullywag

i thought this was reported as a unity bug or something, im sure Tynan is aware of this one.

edit - https://ludeon.com/forums/index.php?topic=14927.msg157087#msg157087

yup
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?