File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Packages/com.autodesk.fbx/Scripts Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -226,16 +226,23 @@ private static int InitFbxAllocators()
226
226
#if COM_UNITY_FORMATS_FBX_AS_ASSET || UNITY_STANDALONE
227
227
const string DllImportName = "UnityFbxSdkNative" ;
228
228
#elif UNITY_EDITOR_OSX
229
- const string DllImportName = "Packages/com.unity.formats.fbxsdk /MacOS/UnityFbxSdkNative.bundle/Contents/MacOS/UnityFbxSdkNative" ;
229
+ const string DllImportName = "Packages/com.autodesk.fbx /MacOS/UnityFbxSdkNative.bundle/Contents/MacOS/UnityFbxSdkNative" ;
230
230
#elif UNITY_EDITOR_LINUX
231
- const string DllImportName = "Packages/com.unity.formats.fbxsdk /Linux/UnityFbxSdkNative.so" ;
231
+ const string DllImportName = "Packages/com.autodesk.fbx /Linux/UnityFbxSdkNative.so" ;
232
232
#elif UNITY_EDITOR_WIN
233
- const string DllImportName = "Packages/com.unity.formats.fbxsdk /Windows/UnityFbxSdkNative.dll" ;
233
+ const string DllImportName = "Packages/com.autodesk.fbx /Windows/UnityFbxSdkNative.dll" ;
234
234
#else
235
235
#error "FbxSdk: C# bindings for this platform haven't been implemented yet, sorry."
236
236
const string DllImportName = "UnityFbxSdkNative" ;
237
237
#endif
238
238
239
+ // Because of a non-static delegate (ProgressCallback) that is called from NativeFBX->Managed,
240
+ // we are not supported IL2CPP
241
+ #if ENABLE_IL2CPP
242
+ #error Autodesk.Fbx is not supported on IL2CPP
243
+ #endif
244
+
245
+
239
246
240
247
[ global ::System . Runtime . InteropServices . DllImport ( DllImportName , EntryPoint = "CSharp_AutodeskfFbx_new_FbxDouble4x4__SWIG_0___" ) ]
241
248
public static extern global ::System . IntPtr new_FbxDouble4x4__SWIG_0 ( ) ;
You can’t perform that action at this time.
0 commit comments