‘Unable to cast object of type ‘Microsoft.Xna.Framework.Graphics.Texture2D’ to type ‘MonoGame.Extended.Tiled.TiledMapTileset’.’
_tiledMap = Content.Load<TiledMap>("samplemap");
I’m trying out the example code on the documentation and this is the error I’m getting.
Should the documentation example code work, or is it out of date?
I’m using version 3.8.
Any help would be appreciated.
EDIT: My own tilemap and tilesets load and render without issue, so the problem above must be to do with the sample assets.