GearVR Make sure the apk is signed,with the osig file in the right folder for the right device

Hello, here is my problem.

I’m building a GearVR application with the Unity’s native oculus plugin. I’ve generated the oculus file with the ID given by the command adb devices, put it in the Plugins/Android/assets/ folder, and when I build my application, the oculus sig file doesn’t seem to be found.

My VR application used to work last week but when I get back to my computer today, I tried to build and it didn’t work anymore. I don’t think that anything has changed since the last time I built and I even tried to revert all the modifications to the last week versions, with my git repo.

As you can see I know all I need to do to have my application working, but despite of all the things I tried, it doesn’t work… So if one of you is able to help me, it would be very nice ! :slight_smile:

Thank you very much.

The only time we’ve ever had this issue was when someone was using the wrong Device ID. I see you’re using the command adb, which will give you the right number. BUT, we’ve always just grabbed the Sideload VR app (Play store) and that always gives us the right one. Maybe just download that app and compare the IDs, just to be sure?

1 Like

Hi, thanks for your answer.
Actually, I just resolved my bug. I just had to uninstall my application before building and it worked again… Maybe some files were corrupted in the application’s datas and it had been a long time that I haven’t uninstall the application properly ! ^^ Sorry for the time you took to help me, but at least I think it won’t happen to me again !
Thank you very much !