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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more..
    Dismiss Notice
  3. Dismiss Notice

What is 'buildGUID' in Unity3D?

Discussion in 'Scripting' started by IMAN_SH, Jun 16, 2021.

  1. IMAN_SH

    IMAN_SH

    Joined:
    Mar 8, 2016
    Posts:
    16
    I'm looking for some ways to protect my android game from, reverse engineering, code tampering, MODs and etc.

    I explored Unity website references but unfortunately, there was no useful information about that.

    Is
    Application.buildGUID
    can be helpful for this kind of protection? Does anyone have any experience?

    Meantime, I know there are some other ways like writing android native code to check some options and make some protections but I want to know
    Application.buildGUID
    does the same job or not?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,769
    It's because it can't be done.

    You are more than welcome to spend time trying.

    But doing so is like trying to make water not wet.

    You do not even control your OWN Android phone (the OS does) so you certainly do not control your users' phones.
     
    bobisgod234 and IMAN_SH like this.
  3. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,917
    You would be better off making more interesting games or improve your existing ones than spending time on this.
     
    Kurt-Dekker and IMAN_SH like this.
  4. Chris-Trueman

    Chris-Trueman

    Joined:
    Oct 10, 2014
    Posts:
    1,256
    My 2 cents on the subject:

    No matter what you do to try and prevent someone from reverse engineering or hacking your software, they will find a way.

    You can program it in so that things are checked against a standard. For example: if the player shouldn't have a certain weapon at that point in the game play then they hacked it in. This is a waste of time though and I would take @Lurking-Ninja's advice and spend the time on something else like completing the game.
     
    IMAN_SH likes this.
  5. IMAN_SH

    IMAN_SH

    Joined:
    Mar 8, 2016
    Posts:
    16