Xbox LIVE Indie Games
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (2 posts)

Cannot build sgmotion example

Last post 2/23/2012 10:17 PM by Synapse Gaming LLC. 1 replies.
  • 2/18/2012 2:41 AM

    Cannot build sgmotion example

    I downloaded sgmotion from CodePlex and am trying to build the sample included, but I get this:

    Error 1 Building content threw ArgumentException: An item with the same key has already been added.
       at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Microsoft.Xna.Framework.Content.Pipeline.NamedValueDictionary`1.AddItem(String key, T value)
       at Microsoft.Xna.Framework.Content.Pipeline.NamedValueDictionary`1.Add(String key, T value)
       at SgMotionPipeline.Pipeline.FbxMultiTakeImporter.AppendAnimation(NodeContent masternode, NodeContent animnode) in C:\Derrick\Downloads\sgmotion-63330\trunk\sgMotionPipeline\Pipeline\FBXMultiTakeImporter.cs:line 56
       at SgMotionPipeline.Pipeline.FbxMultiTakeImporter.AppendAnimation(NodeContent masternode, NodeContent animnode) in C:\Derrick\Downloads\sgmotion-63330\trunk\sgMotionPipeline\Pipeline\FBXMultiTakeImporter.cs:line 67
       at SgMotionPipeline.Pipeline.FbxMultiTakeImporter.Import(String filename, ContentImporterContext context) in C:\Derrick\Downloads\sgmotion-63330\trunk\sgMotionPipeline\Pipeline\FBXMultiTakeImporter.cs:line 44
       at Microsoft.Xna.Framework.Content.Pipeline.ContentImporter`1.Microsoft.Xna.Framework.Content.Pipeline.IContentImporter.Import(String filename, ContentImporterContext context)
       at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.ImportAssetDirectly(BuildItem item, String importerName)
       at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.ImportAsset(BuildItem item)
       at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAssetWorker(BuildItem item)
       at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAsset(BuildItem item)
       at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.RunTheBuild()
       at Microsoft.Xna.Framework.Content.Pipeline.Tasks.BuildContent.RemoteProxy.RunTheBuild(BuildCoordinatorSettings settings, TimestampCache timestampCache, ITaskItem[] sourceAssets, String[]& outputContent, String[]& rebuiltContent, String[]& intermediates, Dictionary`2& dependencyTimestamps, KeyValuePair`2[]& warnings) C:\Derrick\Downloads\sgmotion-63330\trunk\sgMotionSample\Content\Models\PlayerMarine.fbx sgMotionSample

    What am I doing wrong?

  • 2/23/2012 10:17 PM In reply to

    Re: Cannot build sgmotion example

    Hi Derrick,

    Try the latest sgMotion source code (not the prepackaged release), it contains updates for XNA 4.0 Refresh and multiple animations embedded in the model.

    Please note if you're using the latest SunBurn Game Engine release (2.0.18) you can simply use the new sgMotion Animation plugin for SunBurn.  Along with sgMotion's existing features the plugin also contains an in-editor ui for creating and modifying animation clips.

    Let me know if this helps!
Page 1 of 1 (2 posts) Previous Discussion Next Discussion