- Home /
QR Code scanner not working properly on mobile devices
I recently bought a qr code scanner and generator from the asset store but it seems it was submitted with an old version of Unity. If I run it in the editor is accessing the camera allright and the image move smoothly as I try to read it. The issue is that when I build on mobile the camera it moves reatly slow and freezes at times. It might be because I'm using draw features and OnGui function that uses old features? I'm not sure how I can change the code to the new UI features in order to work smoothly. I attached the script ,maybe someone can spot the issue for mobile rendering to be more efficient. link text
Answer by tanoshimi · May 26, 2016 at 07:43 PM
Doesn't answer your question directly but, fwiw, I use zxing for barcode/qr code recognition in Unity and it works great (on Android and PC, anyway). And it's free :)
Good point! The fact that it's free makes quite a huge difference. But I make sure it isn't a barrier for developers like me who might not be able to afford a $50 plugin right off the bat.