Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Protecting Unity3D .apk file (Oculus Quest)

Discussion in 'AR/VR (XR) Discussion' started by blackfox_studio, Jan 2, 2020.

  1. blackfox_studio

    blackfox_studio

    Joined:
    Apr 8, 2019
    Posts:
    40
    I'm looking for ways to protect the .apk file before publishing it on SideQuest market. I know that is technically not possible to achieve a 100% level of protection, but I would be happy in making things a bit harder for people trying to snoop into the source code after a successful de-compilation.

    I'm currently using IL2CPP as Backend Script system which AFAIK could help, but I was also looking into ProGuard. Unfortunately, if I try to activate the minification (`Build Settings --> Player Settings --> Other Options --> Publishing Settings --> Minification --> ProGuard`) the app stops working on my Oculus Quest.

    Is there any way to make it work or any other means to achieve a higher level of protection?
     
  2. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    Protection against what? if people *want* to rip assets or look at the code/inject stuff they can do it anyways regardless how much you add protection. If its for multiplayer then you just have to have more server side/cross client authentication for actions.

    Like you said IL2CPP helps a lot and you are required to use it anyways if you release to the store. Anything beyond that I would just suggest use the time on improving the game than trying to combat source diggers or hackers.