Closed LunarExpress closed 1 year ago
This sounds like #263 which was fixed in nightly. Are you using release 6 or nightly?
This sounds like #263 which was fixed in nightly. Are you using release 6 or nightly?
It won't crush again in nightly build,but still cannot deserialize monobehaviour Exported txt says"Asset failed to deserialize."
Unfortunately these monobehaviour issues are hard to solve, especially if they're in a bundle. Check your file's type tree info (F5). Does the window on the left say "this file does not have typetrees" or something like that? If so, then the il2cppdump'd files will actually be needed (in a folder called Managed in the same folder as the bundle). Most of the time, this isn't the case and I wouldn't expect bundles to fail. Also, if it has generics it might be fixed in the latest version of AssetsTools which UABEA doesn't have yet.
If you want to test the new version, you can try using UABEANext: https://nightly.link/nesrak1/UABEANext/workflows/build-windows/master/uabea-windows.zip
If it works there, then the issue will be resolved when AssetsTools is updated here in UABEA. If not, then it'll need more investigation.
Unfortunately these monobehaviour issues are hard to solve, especially if they're in a bundle. Check your file's type tree info (F5). Does the window on the left say "this file does not have typetrees" or something like that? If so, then the il2cppdump'd files will actually be needed (in a folder called Managed in the same folder as the bundle). Most of the time, this isn't the case and I wouldn't expect bundles to fail. Also, if it has generics it might be fixed in the latest version of AssetsTools which UABEA doesn't have yet.
If you want to test the new version, you can try using UABEANext: https://nightly.link/nesrak1/UABEANext/workflows/build-windows/master/uabea-windows.zip
If it works there, then the issue will be resolved when AssetsTools is updated here in UABEA. If not, then it'll need more investigation.
From a long period of work,I found that if the file name is"datapack.unity3d",there will occur the problem,not only this game.Do you know how to build this file from unity? I tried many times but there's only data.unity3d in the directory.
I miss this problem too!!! the "data.unity3d" file is correctly, but the "datapack.unity3d " file is not.
I fixed Asset failed to deserialize
by just updating AssetsTools.NET (which is now in nightly). That still won't fix the main issue, which is that MonoScripts (needed by MonoBehaviours) are in the other bundle, and since you can't open two bundles, you can't normally view the MonoBehaviour. A workaround would be to Export All
on both data.unity3d and datapack.unity3d into the Data
folder, and if you have any changes to make, you can manually re-Import
the specific files you edited.
I fixed
Asset failed to deserialize
by just updating AssetsTools.NET (which is now in nightly). That still won't fix the main issue, which is that MonoScripts (needed by MonoBehaviours) are in the other bundle, and since you can't open two bundles, you can't normally view the MonoBehaviour. A workaround would be toExport All
on both data.unity3d and datapack.unity3d into theData
folder, and if you have any changes to make, you can manually re-Import
the specific files you edited.
That is helpful,problem is solved,so much appreciate.
Describe the bug I'm trying to export a monobehaviour txt file from datapack.unity3d file,dlls are all ready,But uabea will stop working and crash when i click export dump. Whether i closed the cpp2il or open it,the problem is same.But export raw dat file are working fine. To Reproduce Steps to reproduce the behavior:
Here's the crash report;