07th-mod / 07th-mod/minagoroshi

[LINUX] - Achievements do not Unlock

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
19
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Likely caused by a malformatted `achievement.txt` path.

Here is an excerpt from my Player.log:
`Could not find file "/run/media/nep/media/SteamLibrary/steamapps/common/Higurashi When They Cry Hou - Ch.7 Minagoroshi/HigurashiEp07_Data/StreamingAssets/Data\achievements.txt".
NullReferenceException: Object reference not set to an instance of an object
at Assets.Scripts.UI.MainUIController.OnGUI () [0x00000] in :0 `
The "...Data\achievements.txt" should be "...Data **/** achievements.txt".

Seems to be specific to Minagoroshi since I had no problems getting achievements in the previous chapters on Linux (unless this bug was recently introduced).

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue is a path formatting problem on Linux. Look in Assets/Scripts/UI/MainUIController.cs at the OnGUI method where the achievements.txt file is referenced. The path likely uses backslashes incorrectly for Linux. Check how file paths are constructed for StreamingAssets/Data/achievements.txt and ensure they use forward slashes. Test by running the game on Linux and verifying achievements unlock.

Written by the indexing model from the issue text.

Assessment

Domain
game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.