Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

InvalidContentException #3

@wduminy

Description

@wduminy

Downloaded binaries 3.1 for xna 4.0 from here: http://mpe.codeplex.com/releases/view/53633
After opening editor, double-click on BasicExplosion.xml -- and then get this error:

Microsoft.Xna.Framework.Content.Pipeline.InvalidContentException: There was an error while deserializing intermediate XML. Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format.
at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Single.Parse(String s)
at ProjectMercury.ContentPipeline.Emitters.AbstractEmitterSerializer1.Deserialize(IntermediateReader input, ContentSerializerAttribute format, T existingInstance) at ProjectMercury.ContentPipeline.Emitters.EmitterSerializer.Deserialize(IntermediateReader input, ContentSerializerAttribute format, Emitter existingInstance) at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.ContentTypeSerializer1.Deserialize(IntermediateReader input, ContentSerializerAttribute format, Object existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.ReflectiveSerializer.Deserialize(IntermediateReader input, ContentSerializerAttribute format, Object existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadRawObjectInternal[T](ContentSerializerAttribute format, ContentTypeSerializer typeSerializer, Object existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadObjectInternal[T](ContentSerializerAttribute format, ContentTypeSerializer typeSerializer, Object existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadObject[T](ContentSerializerAttribute format)
at ProjectMercury.ContentPipeline.ParticleEffectSerializer.Deserialize(IntermediateReader input, ContentSerializerAttribute format, ParticleEffect existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.ContentTypeSerializer`1.Deserialize(IntermediateReader input, ContentSerializerAttribute format, Object existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadRawObjectInternal[T](ContentSerializerAttribute format, ContentTypeSerializer typeSerializer, Object existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadObjectInternal[T](ContentSerializerAttribute format, ContentTypeSerializer typeSerializer, Object existingInstance)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateReader.ReadObject[T](ContentSerializerAttribute format)
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateSerializer.Deserialize[T](XmlReader input, String referenceRelocationPath)
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate.IntermediateSerializer.Deserialize[T](XmlReader input, String referenceRelocationPath)
at ProjectMercury.EffectEditor.DefaultPluginLibrary.SerializationPlugins.DefaultEffectSerializationPlugin.Deserialize(String filename)
at ProjectMercury.EffectEditor.Core.Interface_Deserialize(Object sender, SerializeEventArgs e)
at ProjectMercury.EffectEditor.UserInterface.OnDeserialize(SerializeEventArgs e)
at ProjectMercury.EffectEditor.UserInterface.uxLibraryListView_ItemActivate(Object sender, EventArgs e)
at System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

ProjectMercury.EffectEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions