-
-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TileMapReader Could not find ContentTypeReader #955
Comments
If it helps, I originally started this project on 3.8 and then upgraded to 4 by removing the plugins and then installing the new ones via nuget |
@frits191 catching up on some issues, are you still experiencing this problem? |
Hi, I encountered the same issue, I'll try to investigate tomorrow |
Ok, I have more data, hope it helps ! I work on mac and windows. On mac the issue is not present BUT, on windows, if I target Windows as OS, and use MonoGame.Framework.WindowsDX as nuget instead of the OpenGL one, I don't have any issue I'll try when i'll have time on simple project to see if the issue comes from Monogame.Extended or juste Monogame Also it maybe is a beginner error, I'm pretty new with MonoGame |
Since the libraries were merged together into a single library, there isn't a The xnb should had the following typereader I checked the Writer, because I originally had the typereader hardcoded as a literal, and it is now updated to return a typeof(reader), which should work. Maybe you are using old .xnb. make sure you clean the project. Delete the \bin\ and \obj\ folder inside your \Content\ to be sure. Or maybe you are using the old importer. Check inside .mgcb and see where the \reference: for MGE pipeline is pointing to. Verify that the dll is the latest version. You can inspect the .xnb by opening it in a hex editor or notepad. It's binary, but the type readers are readable text at the begining. You have to disable compression in the .mgcb to be able to read them. |
Originally posted by @frits191 in #816 (comment)
Heya! I'm currently experiencing this exact problem with 4.0.3, OnLoad I get the could not find content type warning.
should I copy just the
TiledMapReader
class? Or rather the whole tiled folder? Not really sure what the answer of the original one meant. Any help would be greatly appreciated!The error:
Could not find ContentTypeReader Type. Please ensure the name of the Assembly that contains the Type matches the assembly in the full type name: MonoGame.Extended.Tiled.TiledMapReader, MonoGame.Extended.Tiled (MonoGame.Extended.Tiled.TiledMapReader, MonoGame.Extended.Tiled)'
What is failing:
_tiledMap = this.Content.Load<TiledMap>("TileMaps/Grass");
The text was updated successfully, but these errors were encountered: