ordinaryfarmer
Greenhorn
Hello,
the game (Steam) won't load anymore. I don't even see any loading/startup screen. Here's the error log
My sytsem is up to date. Recent graphics drivers are installed (AMD Radeon 22.7.1). Switching to 32Bit doesn't help. The game worked flawlessly just some months ago.
According to Options.cs some display modes are loaded in
The error messages tells something about "no elements". It seems like
I'm thankfull for any help.
EDIT: I have NO mods installed. I also checked these points
the game (Steam) won't load anymore. I don't even see any loading/startup screen. Here's the error log
Code:
Message: Sequence contains no elements
InnerException:
Stack Trace: at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
at StardewValley.Options.setToDefaults() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Options.cs:line 606
at StardewValley.Game1.Initialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 1795
at StardewValley.GameRunner.AddGameInstance(PlayerIndex player_index) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 891
at StardewValley.GameRunner.Initialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 770
at Microsoft.Xna.Framework.Game.DoInitialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 841
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 465
at StardewValley.Program.Main(String[] args) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 175
Game Version: 1.5.6 Hotfix #3
SDK Helper: SteamHelper
Game Language: en
GPU: AMD Radeon RX 6800 XT
OS: Win32NT Microsoft Windows NT 10.0.19044.0
According to Options.cs some display modes are loaded in
setToDefaults
function
Code:
preferredResolutionX = GraphicsAdapter.DefaultAdapter.SupportedDisplayModes.Last().Width;
preferredResolutionY = GraphicsAdapter.DefaultAdapter.SupportedDisplayModes.Last().Height;
GraphicsAdapter.DefaultAdapter.SupportedDisplayModes
returns an empty set and therefore there isn't any Last()
element, which leads to the error shown in the log.I'm thankfull for any help.
EDIT: I have NO mods installed. I also checked these points
- Delete the startup_preferences folder in %AppData%/StardewValley
- Make sure you have .NET 5.0+ installed (i've installed the current 6.04 version)
- Lauch options are ampty
Last edited by a moderator: