Search Unity

Prevent .dll modification?

Discussion in 'Multiplayer' started by kidne, Nov 23, 2019.

  1. kidne

    kidne

    Joined:
    Nov 29, 2013
    Posts:
    25
    I have someone altering my multiplayer game using a file overwrite of Assewmbly-CSharp-Firstpass.dll
    I'm using Unity 5.6 currently, are future versions more secure? Is there anything I can do about this with my current version?
     
  2. KyleOlsen

    KyleOlsen

    Joined:
    Apr 3, 2012
    Posts:
    233
    You can try compiling your game with IL2CPP in a newer version of Unity as a form of automatic obfuscation (and possibly a nice performance boost too).
     
  3. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,999
    You can use a server authoritative approach where you don’t trust the client with anything. For example, even if someone changes movement speed on the client, the server should have its own speed limit and reject anything faster.

    Anything that you trust the client with can be hacked sooner or later.

    If there is no way around trusting the client in your game, then you can try virtualization to make it extremely difficult to reverse engineer the exe file. Try Themida for that.
     
    Joe-Censored likes this.
unityunity