sunnamed434 / BitMono

Obfuscator for .NET and Mono, with a customizable engine for building your own obfuscators.
https://bitmono.readthedocs.io/en/latest/
MIT License
344 stars 29 forks source link

Unity android app wont function after any obfuscation #163

Closed Suppzs closed 9 months ago

Suppzs commented 9 months ago

Hey, I have some problems with obfuscating assembly-csharp on Android builds, pc ones seem to work just fine though! When I obfuscate the assembly-csharp.dll with any function other than bitmono it just won't start. I mean unity will load the scene and etc but there will be no any signs of script functioning, like if there weren't any. Bitmono seems to not bring up any errors when obfuscating too

sunnamed434 commented 9 months ago

Hey, which protections you have used, and which Unity version is it?

Suppzs commented 9 months ago

it's unity 2021.3.33f1, I tried using lots of combinations with functions from https://bitmono.readthedocs.io/en/latest/bestpractices/zero-risk-obfuscation.html

In my latest attempt to obfuscate the app I've used BitMono and BitDotNet

sunnamed434 commented 9 months ago

In Unity 2021. BitMono and BitDotNet won't work, will work on Unity 2020. and earlier versions only

Suppzs commented 9 months ago

thank you so much, I would've never figured that out, is it mentioned somewhere? If it's not then it would be nice to

sunnamed434 commented 9 months ago

thank you so much, I would've never figured that out, is it mentioned somewhere? If it's not then it would be nice to

Np. No it's not mentioned, yes I agree it must be mentioned