Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(3 edits)

Looks like an error due to the "Gamedata.sav".  It seems like it happened on start up and was caused by not having write/read permissions for the folder.


I need to know, was it on startup of the game or during gameplay (end of a level/changing options)?

Did you copy your old (1.1) data file to the new version?  If so, try simply deleting it.

(+1)

It was on startup of a clean v1.2. I deleted the v1.1 directory and ~/.local/share/godot just to make sure. A startup of v1.2 as superuser shows some extra warnings:

pure virtual method called
terminate called without an active exception =================================================================
    Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries used by your application.
================================================================= =================================================================
    Native stacktrace:
=================================================================
    0x9e9ca4 - ./AfflictionRescue1.2_linux.x86_64 : (null)
    0x9ea01c - ./AfflictionRescue1.2_linux.x86_64 : (null)
    0x9dcac8 - ./AfflictionRescue1.2_linux.x86_64 : (null)
    0x9e92ff - ./AfflictionRescue1.2_linux.x86_64 : (null)
    0x7f28ddb860f0 - /usr/lib/libpthread.so.0 : (null)
    0x7f28dd88f615 - /usr/lib/libc.so.6 : gsignal
    0x7f28dd878862 - /usr/lib/libc.so.6 : abort
    0x90c6eb - ./AfflictionRescue1.2_linux.x86_64 : (null)
    0x247ae76 - ./AfflictionRescue1.2_linux.x86_64 : _ZN10__cxxabiv111__terminateEPFvvE
    0x247aeb1 - ./AfflictionRescue1.2_linux.x86_64 : (null)
    0x247994f - ./AfflictionRescue1.2_linux.x86_64 : (null)
    0x13063b5 - ./AfflictionRescue1.2_linux.x86_64 : _ZN16AudioDriverDummy11thread_funcEPv
    0x1dcb300 - ./AfflictionRescue1.2_linux.x86_64 : _ZN11ThreadPosix15thread_callbackEPv
    0x7f28ddb7b3e9 - /usr/lib/libpthread.so.0 : (null)
    0x7f28dd952293 - /usr/lib/libc.so.6 : clone =================================================================
    Telemetry Dumper:
=================================================================
Thread 0x7f28d48c6640 may have been prematurely finalized* Assertion at mono-threads.c:650, condition `info' not met, function:mono_thread_info_current,

I've just uploaded a potential fix (at least in terms of crashing).
If you could give it a run (1.21 experimental) and let me know if you get the same behaviour that'd be great.  You should simply get a warning saying you cannot save progress rather than an out right crash.  Running it with super user though has me worried that this isn't the issue.

(2 edits) (+1)

The v1.21 boots! However, the game says:

Game progress/options data cannot be saved, no permissions for folder.

Edit:

The game itself saves just fine. I could restart and continue at level 2, despite the warning in the menu.

(1 edit)

Well that's progress :)
Could you in a post me an output of an "ls -la" command in the game folder and another of it's parent folder.
It is definitely a permissions issue.  If you run the game with super user does it still show the "cannot save" popup?

edit reply: Well that's good.  I'll investigate this further and try some things out. Permissions are messy and complicated but hopefully there will be a couple of ways I can avoid issues.  Thank you for the bug report.

In v1.21 the warning in the menu could still be related to Gamedata.sav. The warning only seems to appear on the first time boot when the file does not exist yet.

(+1)

Ah yes, that makes sense.  I quickly put it together so of course need to polish that.  Thanks again, I'll push an update in the next couple of days.