Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, can you help me with this error?

"Error

WD_OlsSaveLoader: Trying to access a null variable"

It happens after using the get information from old save command for this single variable, whose number is 616. (i have loaded a save and confirmed it properly)

As far as  I know, the variable exists in both the "prequel" as well as in the new game. The only thing that comes to mind is that the variable might have been 0 in the prequel.

Sorry to bother you.

I'll need to run some tests as that message should only appear if the value is "null", not 0

Found thanks to a collaborator. I didn't know the difference between null (never initialized by the game) and 0 (actually set to zero). 

We solved it by changing the error manager: Variable null ->  Set it to Pass a zero value