Search Unity

FBX exporter error

Discussion in 'Package Manager' started by HampusSVRVIVE, Mar 4, 2020.

  1. HampusSVRVIVE

    HampusSVRVIVE

    Joined:
    Oct 3, 2016
    Posts:
    1
    "DllNotFoundException: Packages/com.autodesk.fbx/Windows/UnityFbxSdkNative.dll
    Autodesk.Fbx.NativeMethods+SWIGExceptionHelper..cctor() (at Library/PackageCache/com.autodesk.fbx@3.0.0-preview.1/Runtime/Scripts/NativeMethods.cs:119)

    That's the message I get when trying to export anything from unity via the FBX Exporter.
    It's the 3.0.1 preview version found in the package manager.

    I use 2019.2.9f1

    Is there a way to fix this?

    Thank you!
     
  2. CSDSAdmin

    CSDSAdmin

    Joined:
    Apr 26, 2018
    Posts:
    9
    same here

    DllNotFoundException: Packages/com.autodesk.fbx/Windows/UnityFbxSdkNative.dll
    Autodesk.Fbx.NativeMethods+SWIGExceptionHelper..cctor () (at D:/Unity_Projects/Maternity Resources/Maternity_Unity/Maternity_Interactives/Library/PackageCache/com.autodesk.fbx@3.0.0-preview.1/Runtime/Scripts/NativeMethods.cs:119)
    Rethrow as TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
    Autodesk.Fbx.NativeMethods..cctor () (at D:/Unity_Projects/Maternity Resources/Maternity_Unity/Maternity_Interactives/Library/PackageCache/com.autodesk.fbx@3.0.0-preview.1/Runtime/Scripts/NativeMethods.cs:139)
    Rethrow as TypeInitializationException: The type initializer for 'Autodesk.Fbx.NativeMethods' threw an exception.
    Autodesk.Fbx.Globals..cctor () (at D:/Unity_Projects/Maternity Resources/Maternity_Unity/Maternity_Interactives/Library/PackageCache/com.autodesk.fbx@3.0.0-preview.1/Runtime/Scripts/Globals.cs:813)
    Rethrow as TypeInitializationException: The type initializer for 'Autodesk.Fbx.Globals' threw an exception.
    UnityEditor.Formats.Fbx.Exporter.ModelExporter.ExportObjects (System.String filePath, UnityEngine.Object[] objects, UnityEditor.Formats.Fbx.Exporter.IExportOptions exportOptions, System.Collections.Generic.Dictionary`
     
  3. AskCarol

    AskCarol

    Unity Technologies

    Joined:
    Nov 12, 2019
    Posts:
    125
    Thanks for flagging this @HampusSVRVIVE and @CSDSAdmin. We'll take a look and get back to you.

    @csdadmin are you also on the 3.0.1 preview version for package manager?
     
unityunity