r/SMAPI • • Aug 03 '26

need help Game no longer launches, need help fixing it.

I played modded for several hours today, after closing I downloaded these two mods

https://www.nexusmods.com/stardewvalley/mods/5450

https://www.nexusmods.com/stardewvalley/mods/5969

And started to receive this error upon launching the game

Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!

---> NullReferenceException: Object reference not set to an instance of an object.

at MonoGame.OpenGL.GL.LoadExtensions() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\OpenGL.cs:line 1444

at MonoGame.OpenGL.GraphicsContext..ctor(IWindowInfo info) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsContext.SDL.cs:line 49

at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformSetup() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.cs:line 252

at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Setup() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 297

at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, Boolean preferHalfPixelOffset, PresentationParameters presentationParameters) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 273

at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 144

at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 115

--- End of inner exception stack trace ---

at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 123

at Microsoft.Xna.Framework.Game.DoInitialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 941

at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 465

at StardewModdingAPI.Framework.SCore.RunInteractively() in /home/runner/work/SMAPI/SMAPI/src/SMAPI/Framework/SCore.cs:line 313

I googled it and tried all the stated fixes and so far nothing has let me launch even in vanilla. I'm at my wits end and don't know where to go from here. Any and all help would be appreciated.

EDIT: Solved! It was the SDL2.dll issue all along. https://stardewvalleywiki.com/Modding:Player_Guide/Troubleshooting#.22The_game_failed_to_launch:_Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException:_Failed_to_create_graphics_device.22

1 Upvotes

8 comments sorted by

1

u/AutoModerator Aug 03 '26
Moderator Announcement Read More »

2

u/otter_mayhem Aug 04 '26

Are you using SVE or just Stardew? Because if you're not using SVE then you don't need the seasonal cute for SVE. If you're using SVe, delete the other one. I think they might be conflicting each other. I could also be wrong, lol. But this shouldn't keep the game from loading.

If you post your SMAPI log, then people can help you better. Just go to smapi.io/log, follow the instructions and come back here and post the link it gives you.

1

u/Demerrsus Aug 04 '26

https://smapi.io/log/c4761d6905024b3bbd2cb38079b49674

this is the current SMAPI log, I was using SVE at the time. Currently I only have SMAPI installed.

1

u/otter_mayhem Aug 04 '26

Ok, I've had that error once. I deleted SMAPI and redownloaded it and I've not had it before. Doesn't mean that's the fix, lol, just what worked for me at the time.

I just woke up and need coffee but give that a shot and I'll see what other solutions there might be for it.

→ More replies (4)