Sometimes state files do not read the specific paths they have been given?

How come that in some cases when I specify a statefile with a list of files I know exist and have verified, it still defaults to only reading the files which are stated in it initially?

It works so fine when I do it through the gui, but the moment I try to call it programmatically it keeps sticking with the initial files. How to solve this?

LoadStateDataFileOptions='Choose File Names'

You have to add this line to your “LoadState” functionality, else it will not behave properly. This can sometimes happen if you in your state file select stuff from different folders when making it initially.