Skip to main content

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

I love being able to import .json files to save and load my maps -- except that every time I try to import with the current version of Perilous Shores, I get an error box reading 'Can't access property "init", g is null' -- and nothing loads.  I'm not good at checking over .json files, so there might be an obvious fix by editing the file, but I'm reluctant to try it since I had what seemed a good save of an edited region...

FWIW, I'm running with Firefox-ESR, kept current, on Debian 13.5, plenty of RAM and storage.  I get  slightly different error with Chromium (also kept current): "Cannot read properties of null (reading 'init')"

Edit to add: I did find that Load works, kind of -- after loading and getting the error message, going to Blueprint and Discard will show the loaded region with any rotations removed (i.e. in the orientation of the original generated map from which I edited).  A usable work-around...

I can't reproduce this issue and I didn't receive any other similar reports.

I know the rotation feature is bugged and the problem manifests itself in more than one way. When I load a rotated map, its rotation is lost, but I don't get any error messages. Hopefully if I fix the rotation the whole issue will go away...

(1 edit) (+1)

Might well be it, since the map I was saving and loading was rotated before editing.  I needed that city to be on a southern coast and the river to run east to west...

Following up, yes, I can import unrotated maps (even with multiple edits) without problems.  And with my workaround (Blueprint, Discard) I can get back maps that were rotated before saving.