List
Crash on Unity iOS when I combine with VR
Posted Date: 2019-05-14 10:30     Edited Date: 2019-11-14 22:38     Writer: yuliyanto1985



1. SDK Version: 4.1
2. Development Unity-iOS
3. Tracker/Scanner: Image Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
5. Target Device(Optional):

Hi,

So I have a project that have two menu, one is AR image tracker which I'm using Maxst AR, and second is VR, i'm using google vr cardboard (GVRSDK).

There is no problem when I sepparate the two menu in to two different project. But when I merge the project and build it for iOS device, every time I scan an Image, the app will immediately crashing. I see no error on the xcode log except this : 

malloc: *** error for object 0x1b3d4240: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug

and also this : 

The apps has not correlated script or plugin for each AR and VR.

Can you help me resolve this problem?

Thanks

Posted Date: 2019-05-16 4:35     Edited Date: 2019-05-16 4:35     Writer: inactive

Hi,

That error log only affected memory. That's it.

That is hard to figure out how the problem happened in code.

We will test it and give it back to you.

 

Leo

Maxst Support Team

Posted Date: 2019-11-14 22:38     Edited Date: 2019-11-14 22:38     Writer: developer

yuliyanto1985

We are seeing the same crash and trying to get it working. Did you ever get a solution figured out with Maxst AR? It does seem to crash even if we're not using Google Cardboard in the scene but we include it with the project. As soon as we scan a target on iOS, Maxst crashes the app.