How to protect my project from decompiling?

The Unity3d compile my project into a package which will be later in my platform. Here comes a question. Is it safe? I think there is a possibility to decompile the source from this package. Anyway to protect it? Thanks

1 Answer

1

Unfortunately you can’t, the only way to somehow keep your data save is by using online data streaming, but they are still cached, so its really a pain the the arse. You could use code obfuscation tools, some are even in asset store, they will make the code physically unreadable, but im not sure if it will stay that way after decompression.

I know this one:

Also, i forgot to mention that you can .dll files, but they still can be crackable.

If the obfuscation tool does a good job a renaming methods and variables etc, it should render decompiled code unreadable(not unbuildable), so while they may get something from the code, this may take a long time to figure out everything. Having methods called A, B, AB, BC, etc, makes thing difficult.

I'm most interested at the dll method. But how to do that in os like iOS ? The shared library is not allowed.

Thanks for your answer, Buuny83. I know the Xcode code and even android code could be obfuscated. But I worried about the unity3d data. The data will be loaded by the unity3d engine if I'm not wrong. So I want to protect my data from decompiling.