Support MonoGame 3.8
See original GitHub issueAs the title says, currently using penumbra with monogame 3.8 throws exception: System.Exception: 'This MGFX effect is for an older release of MonoGame and needs to be rebuilt.'
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
MonoGame 3.8 - Releases
MonoGame 3.8 is now available for all! ... Thanks again for supporting MonoGame! 63 Likes. Tom pinned globally August 10, 2020, 5:18pm #2....
Read more >MonoGame 3.8.1 - Releases
1. The most notable change for existing users is that MonoGame will only support .NET 6 and Visual Studio 2022 moving forward. Prior...
Read more >Downloads
Everything now works through NuGet packages and simple project templates. Getting started with MonoGame 3.8.1.303. Released July 26th, 2022. Release notes. You ...
Read more >MonoGame 3.8.1 - Releases
Uninstalling Monogame from the host machine and re-installing it completely at the newest version doesn't help. Restarting Visual Studio doesn't ...
Read more >What's New | MonoGame Documentation
NET 6 isn't supported by Visual Studio 2019, starting with MonoGame 3.8.1 it will no more be possible to build games with it....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just a note, looks like there have been some changes to the GraphicsDevice setup in 3.8 which results in the
RenderTarget2D
s in Penumbra Component getting the default 480x360 resolution if you set up Penumba in theGame
constructor as in the docs. (Even if you set your backbuffer and viewports on Graphics and GraphicsDevice correctly).I’ve had to switch all of my resolution setup and penumbra creation to the
Game.Initialize()
method (afterbase.Initialize();
).It also seem like you now need to call
graphics.ApplyChanges();
manually after setting up the GraphicsDeviceManager.Everything seems to work fine after moving the GraphicsDeviceManager and Penumbra setup out of the constructor though.
@spiercey Thanks for sharing the fork! I haven’t had time to upgrade to MonoGame 3.8 yet but am planning to sometime this month. Your work definitely helps me speed things up.