Tiled - 'This MGFX effect is for an older release of MonoGame and needs to be rebuilt.' - Monogame 3.8.1

I’ve just moved my project to 2022 and .NET 6.

This is the error I get when trying to run this line:
TiledMapRenderer = new TiledMapRenderer(GraphicsDevice);

My current references:

<PackageReference Include="MonoGame.Extended" Version="3.8.0" />
<PackageReference Include="MonoGame.Extended.Content.Pipeline" Version="3.8.0" />
<PackageReference Include="MonoGame.Extended.Entities" Version="3.8.0" />
<PackageReference Include="MonoGame.Extended.Graphics" Version="3.8.0" />
<PackageReference Include="MonoGame.Extended.Gui" Version="3.8.0" />
<PackageReference Include="MonoGame.Extended.Input" Version="3.8.0" />
<PackageReference Include="MonoGame.Extended.Tiled" Version="3.8.0" />
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="" />

Any help is appreciated. Thanks :slight_smile:

I am getting this issue also.
I don’t have any fx files in my solution.

I took a look at the source code for monogame.extended and there is an fx file in the Resources for Monogame.Extended.Graphics. Monogame.Extended.Graphics is referenced by Monogame.Extended.Tiled.


So the issue may be that DefaultEffect.fx file needs to be rebuilt for 3.8.1 and a new set of nuget packages created for monogame.extended.