Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

I'm getting an error that says "TypeError: this._bestiarySeen.add is not a function"

It happens every time combat begins. This seems to happen only on files that have been saved and reloaded, not on fresh games. 

When opening the bestiary, I also get the error "TypeError: this._bestiarySeen.has is not a function"

Hey bro, how are you?

You made a very good diagnosis by analyzing the issue of the error occurring in loaded games and not in new games.

The plugin saves a variable within the savegame to register the enemies you've already seen and load them correctly when you use the load function.

Could you please send me a screenshot or the error text in the console?

I'll try adding an exception to create this variable and update it in already saved games that don't have the variable previously created.

I need the log to confirm if this is the cause or the only cause of your problem.

Thank you very much for the message and for all the support.

 thanks for the quick reply. I'm fine, how are you? Here's the stack trace:

Hey, I made an update that changes how data is written and read, and I added a security check for games with savegames. Could you download the JS file and test it, please?

Thank you so much for the log, and for all the support

Thanks! It looks like it works so. I will let you know if I encounter any errors later.