mike_n

Does the FBX content importer support nurbs models I exported a simple sphere in Maya 8 as sphere.fbx, but the content importer throws an exception when it tries to build the asset:

I saw a reference to a function trying to import animations, however the object isn't animated at all... I can provide the asset somewhere if needed.


Building Media\sphere.fbx -> bin\x86\Debug\Media\nurb_sphere.xnb
Media\sphere.fbx : error : Building content threw ArgumentNullException: Value cannot be null.
Media\sphere.fbx : error : Parameter name: key
Media\sphere.fbx : error : at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
Media\sphere.fbx : error : at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
Media\sphere.fbx : error : at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.AnimationConverter.AddAnimationToNodesRecursive(NodeContent node)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.AnimationConverter.AddAnimationInformationToScene(NodeContent sceneRoot)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.FbxImporter.Import(String filename, ContentImporterContext context)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.ContentImporter`1.Microsoft.Xna.Framework.Content.Pipeline.IContentImporter.Import(String filename, ContentImporterContext context)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.ImportAssetDirectly(BuildItem item, String importerName)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.ImportAsset(BuildItem item)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAssetWorker(BuildItem item)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAsset(BuildItem item)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAndLoadAsset(BuildItem item, BuildItem requestingItem)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.ImportAssetViaCache(BuildItem item, String importerName)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.ImportAsset(BuildItem item)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAssetWorker(BuildItem item)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAsset(BuildItem item)
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.RunTheBuild()
Media\sphere.fbx : error : at Microsoft.Xna.Framework.Content.Pipeline.Tasks.BuildContent.RemoteProxy.RunTheBuild(BuildCoordinatorSettings settings, ITaskItem[] sourceAssets, TaskLoggingHelper msbuildLog, String[]& outputContent, String[]& rebuiltContent, String[]& intermediates)


Re: XNA Game Studio Express importing nurbs model?

mike_n

Here is the asset:

http://mike-n.com/stuff/sphere.fbx




Re: XNA Game Studio Express importing nurbs model?

mike_n

BTW, I re-exported as a polygon model and all is fine...




Re: XNA Game Studio Express importing nurbs model?

Michael Klucher - MSFT

Correct, We don't support NURBS models only polygons. Maybe we can do something in the future with that error though. Thanks for letting us know!






Re: XNA Game Studio Express importing nurbs model?

mike_n

Thanks!