You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build xml mappings for our animations but I get the error XmlImporter had unexpected failure. I'm not sure why it is failing, it fails only with XML files as the custom processed TMX Tiled map files are running and building fine. Below is the log of the build.
The troubling xml is also attached as annMap.txt, just rename it to xml and try it.
Build started 1/22/2020 11:54:04 PM
/Users/greentwip/Documents/Source/harvestmoon/Data/Content/animations/annMap.xml
Warning: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
/Users/greentwip/Documents/Source/harvestmoon/Data/Content/animations/annMap.xml: error: Importer 'XmlImporter' had unexpected failure!
System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <2722d81e5b26475cb5f475fea055f291>:0
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateSerializer+<>c.<FindType>b__15_0 (System.Reflection.Assembly assembly) [0x00000] in <31874325f092437ca6e29782e6a4c35c>:0
at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <f84aa906ee264c4a932d8627b3559eb9>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00059] in <f84aa906ee264c4a932d8627b3559eb9>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <f84aa906ee264c4a932d8627b3559eb9>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <f84aa906ee264c4a932d8627b3559eb9>:0
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateSerializer.FindType (System.String typeName) [0x00202] in <31874325f092437ca6e29782e6a4c35c>:0
at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () [0x00012] in <f84aa906ee264c4a932d8627b3559eb9>:0
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <f84aa906ee264c4a932d8627b3559eb9>:0
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateSerializer.FindType (System.String typeName) [0x00149] in <31874325f092437ca6e29782e6a4c35c>:0
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadTypeName () [0x00012] in <31874325f092437ca6e29782e6a4c35c>:0
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadObject[T] (Microsoft.Xna.Framework.Content.ContentSerializerAttribute format, Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.ContentTypeSerializer typeSerializer, T existingInstance) [0x0009f] in <31874325f092437ca6e29782e6a4c35c>:0
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadObject[T] (Microsoft.Xna.Framework.Content.ContentSerializerAttribute format) [0x00017] in <31874325f092437ca6e29782e6a4c35c>:0
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateSerializer.Deserialize[T] (System.Xml.XmlReader input, System.String referenceRelocationPath) [0x00053] in <31874325f092437ca6e29782e6a4c35c>:0
at Microsoft.Xna.Framework.Content.Pipeline.XmlImporter.Import (System.String filename, Microsoft.Xna.Framework.Content.Pipeline.ContentImporterContext context) [0x00007] in <31874325f092437ca6e29782e6a4c35c>:0
at Microsoft.Xna.Framework.Content.Pipeline.ContentImporter`1[T].Microsoft.Xna.Framework.Content.Pipeline.IContentImporter.Import (System.String filename, Microsoft.Xna.Framework.Content.Pipeline.ContentImporterContext context) [0x0001c] in <31874325f092437ca6e29782e6a4c35c>:0
at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent (MonoGame.Framework.Content.Pipeline.Builder.PipelineBuildEvent pipelineEvent) [0x00079] in <31874325f092437ca6e29782e6a4c35c>:0
Build 0 succeeded, 1 failed.
Time elapsed 00:00:00.60.
I'm trying to build xml mappings for our animations but I get the error XmlImporter had unexpected failure. I'm not sure why it is failing, it fails only with XML files as the custom processed TMX Tiled map files are running and building fine. Below is the log of the build.
The troubling xml is also attached as annMap.txt, just rename it to xml and try it.
annMap.txt
What version of MonoGame does the bug occur on:
What operating system are you using:
What MonoGame platform are you using:
The text was updated successfully, but these errors were encountered: