Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits) (+1)

After a bit of digging, I found a potential culprit: some of the files were indexed for cache checking, but they aren't present. A debug.log file and the NPC Jsons folder.

The debug.log file should be deleted before builidng (I'll look into why it was indexed when it shouldn't be indexed). As for that folder, if it's necessary, it should be included in the packages (there's an option to add it in the Compiler and Packer tab in the Project settings). Otherwise, move it temporarily somewhere else.

EDIT: For some context: when strict cache checks are active (or turning off the setting to clear the cache after the game closes), the bootstrap checks the cache for anything weird. If it sees some files being edited or missing, the game closes. Once the game restarts, the bootstrap rebuilds the cache. It would explain the rare close since, at some point, the bootstrap notices activity in the cache and runs a check. And since those files were missing, it closed the game.

Ahhh, makes total sense, thank you so much for looking into this.

I know the tool asked me about those files/folders when I was initially building but I didn't totally understand what to choose at the time. I'll see if I can create a new recipe that does not include those files and what will happen as a result.

For the record the NPC Jsons is not a required folder at all, it's not related to any plugin or anything. it's just a folder where I keep character portrait/design ideas stored in one place. I don't even necessarily need it in the folder of the project tbh, I should just move it somewhere else.

As far as debug.log I have no idea on that one, but I'm pretty sure the tool asked me about that too and I just accepted the default recommendation.

Cheers and thank you again :).

(+1)

No problem.