By montandon
on Wed, 06/26/2013 - 15:32
Dear Support Team, I have a project which runs perfectly with QCAR (with Unity 3.5.6 f4) an both Android an IOS (XCode 4.6.3). However, I've tried to add an external dependencies to System.Web.Extensions.dll (in order to use the JavaScriptSerializer class). As soon as I add this dll to the plugins folder of my Unity project, I have the following error when I am running the application on a IPad 4 : error: memory read failed And the console log is : 2013-06-26 16:05:23.828 testPlugin[28910:907] -> registered mono modules 0x20f82f0-> applicationDidFinishLaunching() The application is locked in the splashscreen view. Then, if I remove System.Web.Extensions.dll from plugin folder, it works again. Note that System.Web.Extensions.dll works perfectly in an empty project (without QCAR) deployed on IPad 4. And as soon as I add QCAR package, I find back the same error. And the last point is that the project works perfectly on Android devices (with both QCAR and System.Web.Extensions.dll). So what's going wrong with QCAR and System.Web.Extensions.dll on IOS ?! Thanks in advance for your help, Christophe Montandon P.S. : You can find a very basic project which reproduces the error at http://support.diotasoft.com/QCAR/TestPluginsIOS.zip
Executing QCAR with a mono dll (System.Web.Extensions.dll) on IO
Hard to say for sure, but it looks like there is some incompatibility between the dll and Vuforia - not sure why, or what you can do about it.
One thing you could look at is to see if the XCode project is being generated correctly by searching for instances of QCAR...
Executing QCAR with a mono dll (System.Web.Extensions.dll) on IO
Tank you for your quick answer !
Executing QCAR with a mono dll (System.Web.Extensions.dll) on IO
For those who would have the same technical issue (and also the same needs ...), I got around the problem while using Newtonsoft Json dynamic library for json files deserialization instead of System.web.extensions.dll.
Executing QCAR with a mono dll (System.Web.Extensions.dll) on IO
Thanks very much for sharing your solution Christophe :)
N