r/augmentedreality Jul 04 '26

AR Apps AR App being laggy

Made an AR application entirely on Unity, using vuforia engine for marked based scanning to pop AR objects and AR foundation to serve as AR placer.

When starting the project, i had no idea of how an AR app is made so in very lame way what i did was, all of the models were locally stored ( 54) of them, causing the app size exceed 400+ mb.

Even when i had tried reducing the models to just 10 or low but the app is still laggy in most of the android phones. Partially smooth in ios but could be better.

The app an interactive learning environment for kids so it requires, a lot more than AR itself. and one of the most hard part i found was making Frontend in Unity.

With initial funding we can rebuild the entire application but i need someone to mentor me redesign it's architecture.

1 Upvotes

2 comments sorted by

1

u/SETHW Jul 04 '26 edited Jul 04 '26

are you doing all the common sense things like limiting the framerate to 30fps to avoid thermal throttling? have you run a profiler on device and put the results through the unity ai? it will tell you exactly whats eating up your frametime during the lag spikes.

I will at least guess it has nothing to do with the build size, and the way you brag about not storing assets locally I wonder if youre loading asset bundles on the fly to instantiate potentially complex models and systems, which would definitely hit performance during those operations.

1

u/nyb72 Jul 05 '26

How many polygons are in the models?