nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.1k stars 143 forks source link

Asset failed to deserialize in il2cpp game even after using il2cppDumper #238

Closed gabriel-so closed 1 year ago

gabriel-so commented 1 year ago

I'm getting the "Asset failed to deserialize" message when trying to view/extract a MonoBehaviour within an .assets file (resources.assets, sharedassets0.assets, etc.)

The game is il2cpp and I already tried using il2cppDumper and putting the generated dlls in a Managed folder, but still no success.

It only fails to deserialize in those assets files. In .bundle files from addressables, I'm able to view and extract MonoBehaviours normally.

nesrak1 commented 1 year ago

Are you using nightly? In the first window, you can disable Cpp2IL under Options -> Enable/Disable CPP2Il.

Bundles will read okay because they include type tree info which doesn't require UABEA to read the il2cpp metadata.

gabriel-so commented 1 year ago

It worked! Thanks!