Author Topic: GameServer included on client build?  (Read 3163 times)

richardwood

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 8
    • View Profile
GameServer included on client build?
« on: September 27, 2014, 05:37:59 AM »
Hey, I was decompiling my standalone windows build's dlls, and notice that the TNet GameServer codes are exposed on my client build. Is this supposed to happen?

The project im working with is dedicated server -> clients, which i dont want any of my clients host their own server. I don't want them to decompile my scripts steals the server code and put up their own private server.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: GameServer included on client build?
« Reply #1 on: September 27, 2014, 07:42:40 PM »
That's the nature of Unity. Everything written in C# is like an open text file that anyone can read. If you want your code to be secure, use some serious obfuscation or just don't use Unity.