I have been working on a project that includes several extra viewControllers and functionality added to a Unity built QCAR Xcode project. The app is working well but is holding on to references and using up memory which lead to an eventual crash. I think this problem is similar to the one described in Danchoys post here, https://ar.qualcomm.at/content/qcar-inside-uinavigationcontroller. It seems like being able to use destroyAR, pauseAR and resumeAR the way they are used in this example would help solve the problem. When I try to call anything from QCARutils.h I get the error "QCARUnityPlayer.h not found", and there are no spaces in my project name. I have added that file to the project and changed some .m files to .mm which has led to other errors. My Xcode project is from a Unity build, so I have the AppController. How do I use the approach in the Image Targets example with this project? Why am I having so much trouble using QCARutils? Thanks.
Also, is there any other documentation available besides what is found at the SDK, Dev Guide, and API tabs?
iOS project memory leaks
hi dshriver,
Interested to hear this approach as not many have tried to add XCode to Unity projects, and generally we suggest staying in Unity.
iOS project memory leaks
I have an initial view controller with a "start" button that calls the startUnity method that is in the AppController, and have the startUnity call in the Appcontroller commented out. The app is used to take photos of a user in the scene with the AR generated models.
iOS project memory leaks
Can I just why you've gone with this approach as opposed to a Unity native plugin?