After updating my MonoGame.Extended assemblies using NuGet and updating all of my project’s Tiled code to the latest TiledMap API, the constructor for TiledMapRenderer
is throwing the following exception:
Message=This MGFX effect was built for a different platform!
Source=MonoGame.Framework
StackTrace:
at Microsoft.Xna.Framework.Graphics.Effect.ReadHeader(Byte[] effectCode, Int32 index)
at Microsoft.Xna.Framework.Graphics.Effect..ctor(GraphicsDevice graphicsDevice, Byte[] effectCode, Int32 index, Int32 count)
at MonoGame.Extended.Graphics.Effects.MatrixChainEffect..ctor(GraphicsDevice graphicsDevice, Byte[] byteCode)
at MonoGame.Extended.Graphics.Effects.DefaultEffect..ctor(GraphicsDevice graphicsDevice)
at MonoGame.Extended.Graphics.TiledMapRenderer..ctor(GraphicsDevice graphicsDevice)
The MonoGame assembly that the project uses is this:
<Reference Include="MonoGame.Framework">
<HintPath>$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll</HintPath>
</Reference>
I haven’t been able to find much information on this error at all via Google. Does anyone know what the cause is?