Issues with kudan camera while merged with native android application

169 views Asked by At

I got a requirement where I need to merge the unity application with the native android app, I am using Kudan plugin in the unity 3d, I have exported the unity project to the android studio and created a new app in the android studio and merged the Unity app to native android app.Once I tested the build, everything is working fine except a camera(Kudan camera).Ar camera is not working as expected.I am using free ver of Kudan plugin.I have tested it without merging with the native app and it is working fine, in this case, If I merge unity app with native android app camera is not working fine.

1

There are 1 answers

1
ND1010_ On

I am facing same issue, it will stop working camera torch of system too when you extending class ARActivity you can't able to access setFlashMode() method

Test this case in your phone by opening application and then trying to on/off torch.

Torch will be disable from system.

After then try with extending Activity class

recently i have ask same question