You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When playing Elin, the game fails to delete a directory recursively during save operations, leading to an unhandled exception.
Elin is a Unity-based game running Mono as its script engine. The issue occurs when the game attempts to delete a temporary directory under C:\users\crossover\AppData\LocalLow\Lafrontier\Elin\Save\. This causes the game to hang, and manual intervention is required to delete the directory.
This appears to be related to Mono's System.IO implementation under Wine, as the error logs indicate file system operations fail during recursive directory deletion.
Unity Log (in C:\users\crossover\AppData\LocalLow\Lafrontier\Elin\Player.log):
Exception:System.IO.IOException: Unknown error (0x2604200) : '\\?\C:\users\crossover\AppData\LocalLow\Lafrontier\Elin\Save\_Temp\'
at System.IO.FileSystem.RemoveDirectoryRecursive (System.String fullPath, Interop+Kernel32+WIN32_FIND_DATA& findData, System.Boolean topLevel) [0x00163] in <7e05db41a20b45108859fa03b97088d4>:0
at System.IO.FileSystem.RemoveDirectory (System.String fullPath, System.Boolean recursive) [0x00036] in <7e05db41a20b45108859fa03b97088d4>:0
at System.IO.DirectoryInfo.Delete (System.Boolean recursive) [0x00000] in <7e05db41a20b45108859fa03b97088d4>:0
at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo.Delete(bool)
at IO.DeleteDirectory (System.String path) [0x00018] in <af2754ac36984452b76479915f27b6cf>:0
at Core.OnApplicationQuit () [0x00099] in <a9cf46e3abf7419aaed33882c46a12b7>:0
The Mono log shows an IOException with an unknown error code (e.g., 0x2604200), while Wine logs show that directory enumeration completes successfully with STATUS_NO_MORE_FILES. The error code which originates from an unknown source, is returned to Mono, causing the failure.
Observations
The error code (0x2604200, 0x66c200, etc.) changes with each session but remains consistent during the game lifecycle. The two logs are from different program session so the codes are not the same.
The temporary directory remains empty but cannot be deleted, leading to a game hang.
Manually deleting the directory allows the game to proceed but causes additional issues if the exception occurs during autosave.
Steps to reproduce
Create a new Windows 10 bottle in Whisky.
Install Steam and download the Elin Demo.
Launch the game. If characters are missing in the menu (font issue), click the top button (New Game).
Create a new character and start the game.
Skip the opening sequence (hold Ctrl).
The game hangs during the starting dialogue when attempting to delete the temporary save directory.
Expected behaviour
The game should successfully delete the temporary directory during save operations without causing exceptions or hangs.
Workaround
Manually deleting the directory causing exception shown in Player.log allows the game to proceed. However, this is impractical for autosave scenarios and introduces bugs.
The text was updated successfully, but these errors were encountered:
Xerxes-2
changed the title
Unable to delete temp directory in Elin when saving
Game Fails to Delete Temporary Directory During Save, Leading to Crash (Unity Mono on Wine)
Dec 6, 2024
Xerxes-2
changed the title
Game Fails to Delete Temporary Directory During Save, Leading to Crash (Unity Mono on Wine)
Game Fails to Delete Temporary Directory During Save, Leading to Crash (Unity Mono)
Dec 6, 2024
Xerxes-2
changed the title
Game Fails to Delete Temporary Directory During Save, Leading to Crash (Unity Mono)
Elin Fails to Delete Temporary Directory During Save, Leading to Crash (Unity Mono)
Dec 6, 2024
Description
When playing Elin, the game fails to delete a directory recursively during save operations, leading to an unhandled exception.
Elin is a Unity-based game running Mono as its script engine. The issue occurs when the game attempts to delete a temporary directory under
C:\users\crossover\AppData\LocalLow\Lafrontier\Elin\Save\
. This causes the game to hang, and manual intervention is required to delete the directory.This appears to be related to Mono's
System.IO
implementation under Wine, as the error logs indicate file system operations fail during recursive directory deletion.Unity Log (in
C:\users\crossover\AppData\LocalLow\Lafrontier\Elin\Player.log
):WINEDEBUG Log:
The Mono log shows an
IOException
with an unknown error code (e.g.,0x2604200
), while Wine logs show that directory enumeration completes successfully withSTATUS_NO_MORE_FILES
. The error code which originates from an unknown source, is returned to Mono, causing the failure.Observations
0x2604200
,0x66c200
, etc.) changes with each session but remains consistent during the game lifecycle. The two logs are from different program session so the codes are not the same.Steps to reproduce
Ctrl
).Expected behaviour
The game should successfully delete the temporary directory during save operations without causing exceptions or hangs.
Workaround
Manually deleting the directory causing exception shown in
Player.log
allows the game to proceed. However, this is impractical for autosave scenarios and introduces bugs.Logs###
What version of Whisky are you using?
2.3.4
What version of macOS are you using?
Sequoia (macOS 15.1.1)
Issue Language
The text was updated successfully, but these errors were encountered: