Crash on Mac when accessing Direct Arrays.

Anonymous

Crash on Mac when accessing Direct Arrays.

Anonymous
Not applicable

Hi all,

 

I'm building an fbx importer as a dynamic library on Mac where I link with the fbx sdk (using XCode 5.0 and FBX SDK 2019.0).

At runtime I get exceptions when trying to access direct arrays from FbxGeometryElementNormal and FbxGeometryElementUV objects as the arrays appear to be in a corrupted state. Linking with libfbxsdk.a or libfbxsdk.dylib does not make any difference. I've tried running a console app version of the same code and it runs fine, the crashes appear only when the fbx sdk is linked in a dynamic library project on Mac. Are there any compile/link settings that could cause this behavior? Any ideas about what else could lead to these crashes?

 

Thanks!

0 Likes
Reply
443 Views
1 Reply
Reply (1)

Anonymous
Not applicable

Can you provide project settings and a minimum example that crashes?

0 Likes