ModShardTeam / ModShardTeam/ModShardLauncher
[BUG] Bug report
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 55
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Describe the Bug :
When opening vanilla.win from Stoneshard version 0.9.3.8 using ModShardLauncher (MSL) version 0.13.2.0, the launcher immediately crashes with a System.ArgumentNullException. This happens even when no mods are placed in the Mods folder. It appears that MSL attempts to access game tables that do not exist in this version of Stoneshard.
Steps To Reproduce :
Install Stoneshard version 0.9.3.8 in a directory (e.g., D:\Games\Stoneshard).
Place ModShardLauncher version 0.13.2.0 in the game directory.
Ensure the Mods folder is empty or contains no mods.
Open ModShardLauncher.exe.
Select vanilla.win when prompted.
Observe that the launcher crashes immediately.
Expected Behavior :
The launcher should load vanilla.win successfully and allow the user to apply mods, or at least display an error message indicating version incompatibility instead of crashing.
Screenshots if applicable :
_Error console.
2025-10-11 14:42:33.494 +02:00 [INF] Successfully load: D:\Games\Stoneshard\vanilla.win.
2025-10-11 14:42:33.508 +02:00 [ERR] Something went wrong
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Func2 predicate, Boolean& found)
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate)
at ModShardLauncher.ModLoader.GetTable(String name)
Additional Information :
- Stoneshard Version : 0.9.3.8
- MSL Version : 0.13.2.0
Additional Context :
Add any other context about the problem here.
This issue seems related to missing internal game tables in Stoneshard 0.9.3.8 that are expected by MSL 0.13.2.0. Users with this version cannot use MSL unless they downgrade MSL or upgrade the game.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing with Stoneshard 0.9.3.8 and MSL 0.13.2.0, then inspect ModShardLauncher.ModLoader.GetTable(String name), identified in the stack trace. Check how missing game tables are handled; done means vanilla.win no longer crashes and reports version incompatibility or loads successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100