thread priority security exception make sure the apk is signed?!

I created a new empty project with Unity 5.1.1p2 and generated the signature file for my device via oculus tool on the website (ID is correct via monitor, adb devices and shows on the pushing bar when compiling with unity)

I also signed the app with a new keystore i generated in the publishing settings of unity

I get that error when running the app in the GearVR - "thread priority security exception make sure the apk is signed" and then it throws me to the GearVR app store

Answers

Same problem here: Today I got the Samsung Gear and I would like to test the unity vr integration, but Samsung S6 says after start with gear: "Thread Priority Security Exception - Make Sure The APK Is Signed".

The setup: New 3D project using Unity 5.1.1.p2 and Gear VR, enabled Virtual Reality Support and the Oculus sig file is in the assett folder. Any ideas? Are there more people with this problems?

@HaimWA: My problem was solved in a Unity Forum. You have to put the sig file not in the standard Asset folder from Unity. Copy it in the Unity Assett Folder in the following subfolder: Plugins/Android/assets

Hi, seems I have solved the problem. It is very important to use the "adb devices" command instead of an app to receive the number of the device. I have an samsung s6 edge plus and with the "adb devices" command I receive the HARDWARE ID instead of the DEVICE ID ... and boom using this HARDWARE ID it is working!

1) Got the device ID using the App SideloadVR DeviceID from Android Playstore2) Used the device ID to generate the oculus signature file using the service at https://developer.oculus.com/osig/3) Copy the signature file generated in step 2 at the following location in your Gear VR Unity Project - Project / Assets / Plugins / Android / assets

Now build and Run the App on the Android Device and should be able to get rid of this issue.

Hi, I am having the same issue with "thread priority security exception make sure the apk si signed". I have followed the instructions to place the oculus signature file under path Assets/Plugins/Android/assets. But still getting this message and can't see my app in the headset. I downloaded an app called Device ID to get the device ID and use that to download oculus signature file. I have been searching for many days still can't figure out what is going on! Please help me!!I'm using Unity 5.4.2f2, samsung galaxy s7, the next-generation gear vr headset, have virtual reality supported enable.

Montynayyar , after getting my device id and placing it to the specified assets folder, it's safe to say I'm still getting the same old frustrating error message. When I build and run the apk goes directly to my phone which means the osig file is being read and excepted but still no progress in viewing my app on vr gear. Anyone else can help please.

Old Thread, but it popped up when I was looking for the answer so here it goes: Something I've noticed after a couple hours trying get my windows 10 pc
to launch adb.exe (and failing) and finally switching to my macbook to
obtain the Device ID is that on the Samsung S8+ OS 7.0 you can see the
Device ID list under: Settings > About Phone > Service Provider SW
ver. [2nd line down will be your long ID, mine was 18 digits of letters
and numbers]
I hope that saves people time. Also, You can verify you have the correct number when launching the Build and
Run. Unity will display the Device Id followed by the Model Number of
your device. (Unity 5.6.1f1)