Log in or register to post comments

OnPreCull Performance Issue

October 15, 2014 - 5:28am #1


I started setting up a new unity project using vuforia and skyshop (latest versions). When I begann testing on iOS devices (iPad3/4/air) I encountered massive performance spikes whenever an image target was found and the object (13k tris mesh) was displayed. The unity profiler says that QCARAbstractBehavior.OnPreCull() takes 200+ ms. What could be the cause of this issue?

Here is a screenshot:

The project is a recreation of an earlyer one I did at the beginning of the year (which worked without issues). So I use the exact same setup but with the latest versions of the plugins (skyshop and vuforia).

OnPreCull Performance Issue

October 27, 2014 - 3:28am #3

Thanks for your response!

I don't use any of the example scripts though.

If I'm allowed I will setup und upload a repro project with skyshop and vuforia. Or would just the mesh and materials be enough?


EDIT: In case someone has similar issues and since I'm starting production shortly I settled for the following (temporary) workaround: I downgraded shyshop to version 1.06.2. This doubles the framerate in some cases. Performance is still not perfect on older devices but good enough.

OnPreCull Performance Issue

October 21, 2014 - 2:42am #2

Maybe it would help to know what happens inside the OnPreCull method. Perhaps the process is just waiting for another one to finish and Vuforia has nothing to do with this issue. A little help would be appreciated. Thanks!

Log in or register to post comments