AssetRipper / AssetRipper

GUI Application to work with engine assets, asset bundles, and serialized files
https://assetripper.github.io/AssetRipper/
GNU General Public License v3.0
3.39k stars 476 forks source link

[Bug]: Broken scenes/scene references #1287

Open Lasercar opened 2 months ago

Lasercar commented 2 months ago

Are you on the latest version of AssetRipper?

Yes, I'm on the latest release of AssetRipper.

Which release are you using?

Windows x64

Which game did this occur on?

Fallout Shelter https://steamdb.info/app/588430/

https://play.google.com/store/apps/details?id=com.bethsoft.falloutshelter (Android is newer and uses IL2Cpp)

Which Unity version did this occur on?

PC version/build uses 2017.4.8f1

Android/IOS uses 2022.3.15f1

Is the game Mono or IL2Cpp?

Mono

Describe the issue.

The scenes of the C#/PC build are broken, to the point where you can't even get to a vault, despite the game basically being controlled solely by code (with prefabs and data). It seems to be missing a few scripts and/or some references. Adding steamworks to the exported project did solve the issues with it not finding steamworks and it's functions though.

Also, exporting the Android APK+OPP combined still causes a lot of parameters to be lost, despite the IL2Cpp decompiler catching the variables of the scripts, unless the OPP is exported with the PC build's Mono code.

Relevant log output

PC export: AssetRipper.log

github-actions[bot] commented 2 months ago

Thank you for submitting your first issue here. Please be sure you have uploaded your AssetRipper.log file. It is in the same folder as the exe file. :)

ds5678 commented 2 months ago

I need something more concrete. It is unclear what's wrong, especially without me opening Unity. I need more specificity.

Lasercar commented 2 months ago

Sure. Here's a video. There's something preventing the UI from being interacted with? I was able to bypass the Vault creation and get ingame, but after that, I can't clear away/interact the first tutorial message, similar to the main menu scene UI.

https://github.com/AssetRipper/AssetRipper/assets/64717068/103a7c30-c14f-4855-97fb-1014b8178e4f

Besides that, and the shaders of course, things seem to be ok, other than a few one-time errors (and lots of warnings from the code).

Lasercar commented 2 months ago

I left unity idle in play mode for a while (enough to make the game do it's time load process) and that seems to have fixed the issue??? https://github.com/AssetRipper/AssetRipper/assets/64717068/f2e01359-9147-4c43-a953-e7ed12bdc899

Oh uh, I guess github just doesn't want to do the video thing again (even after making a new comment rather than editing my above one)?