Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DllImport("libgfxunity3d") failing since Unity 4.5

2 REPLIES 2
Reply
Message 1 of 3
it
Observer
498 Views, 2 Replies

DllImport("libgfxunity3d") failing since Unity 4.5

Hello,

 

As said in the subject, since we moved to Unity v4.5, we have not been able to get a build running with Scaleform on our devices.

 

This occurs at least on Android devices, and also on Windows standalone. Editor is fine.

 

As soon as we try to instantiate a SFManager, or even a SFInitParams in one of our classes, the loading is failing with not much explanations. After some investigations, it appears that the DllImport is failing :

DllNotFoundException: d:/Exports/OurProject/Plugins/libgfxunity3d.dll

 

That is on Windows, whereas on Android we end up with nothing but a straightforward crash with no log available.

 

Please note that the Example project shipped with Scaleform has the same issue.

 

We also had to update our other plugins with builds for 4.5, are you sure your libraries are compliant with Unity 4.5 ?

 

Thanks in advance.

2 REPLIES 2
Message 2 of 3
it
Observer
in reply to: it

After further investigations, and if that can serve other people actually working with scaleform (in wait of an official answer, which could be long), we found that it was the DEBUG_NOFMOD library for android that causes a crash.

 

That library does not work with Unity 4.5.0f6, and causes a crash in the SF_Init called from within SFManager.cs. The lib itself is loaded, since SFCamera.SF_SetKey and other imported call are successful. This occurs in our project, and also with the ScaleformTutorial shipped with Scaleform 4.2 released in march 2014.

 

The only "solution" we found is to replace that library with the RELEASE_NOFMOD one. It works but it's a little scary for future use, we didn't try yet the shipping libraries...

 

Hope it can save some of us the pain we went through with that, but still PLEASE FIX THAT Autodesk !

Message 3 of 3
RichMC
in reply to: it

Bump^ Have you found a solution to your issue? Have you downloaded the newest release of Unity?

 

http://gameware.autodesk.com/scaleform/public/downloads

 

 

PM me or reply here if you need additional information to help in resolving this issue.

Richard Mc
Autodesk Gameware
Scaleform Division

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report