Skip to main content

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

First, you can make sure that your variable isn’t getting re-assigned by accident. This is as simple as assigning the array into a global variable and checking that (your_array == global.also_your_array).

If it’s not that, you can use function hooking to check for your array being modified in the few functions that can reduce array length (I think that’s just array_resize and array_delete..?)

I’ve also seen some bizarre things happen after calling Steamworks functions that accept arrays of strings (mostly the workshop item tag function, I think).

I'll check those out, thanks!!

You might be on to something with steamworks, the problems I'm having only happen on the PC version of my game it seems... and one of them stops happening when steam cloud saves is turned off. I'll have to take a look at that I think. I'm using leaderboards, cloud saves, and achievements in the game.