sinai-dev / UnityExplorer

An in-game UI for exploring, debugging and modifying IL2CPP and Mono Unity games.
GNU General Public License v3.0
2.29k stars 345 forks source link

[Bug]: UnityExplorer in VR section #93

Closed extremeblackliu closed 2 years ago

extremeblackliu commented 2 years ago

Are you on the latest version of UnityExplorer?

Which release are you using?

MelonLoader IL2CPP

Which game did this occur on?

Onward VR Unity 2019.4.8f1

Describe the issue.

basically it render menu normally while game is loading, but when game has initialized the UnityExplorer Menu gone. when i put on my VR headset, menu on right eye losing the background(menu doesnt shows in right eye ,its gone).

Relevant log output

[07:38:31.656] Loading Mods...

[07:38:31.699] ------------------------------
[07:38:31.700] 1 Mod Loaded
[07:38:31.701] ------------------------------
[07:38:31.701] UnityExplorer v4.1.9
[07:38:31.703] by Sinai
[07:38:31.748] SHA256 Hash: 9664ee1e25e3bef649c41f94ab79041505fcf904235d5edecc4e767b17bb9eed
[07:38:31.749] ------------------------------
[07:38:31.770] [UnityExplorer] UnityExplorer 4.1.9 initializing...
[07:38:32.229] [UnityExplorer] Cached AppDomain assemblies in 0.4254695 seconds
[07:38:34.743] [UnityExplorer] Loaded Unhollowed modules in 2.512164 seconds
[07:38:34.852] [UnityExplorer] Setup IL2CPP reflection in 0.108531 seconds, deobfuscated types count: 846
[07:38:34.861] [UnityExplorer] Initialized Legacy Input support
[07:38:34.979] [UnityExplorer] Finished core setup, waiting for UI setup...
[07:38:36.166] [UnityExplorer] Creating UI...
[07:38:36.170] [UnityExplorer] Loading modern bundle for Unity 2019.4.8f1
[07:38:36.225] [UnityExplorer] This game does not ship with the 'UI/Default' shader, using manual Default Shader...
[07:38:37.773] [UnityExplorer] UnityExplorer 4.1.9 initialized.
sinai-dev commented 2 years ago

This tool is not designed for VR games, it is supposed to be used in Non-VR (desktop) mode. Is it possible to launch the game without VR, or to not use a headset while using the tool?

but when game has initialized the UnityExplorer Menu gone.

Try increasing the "startup delay" in the UnityExplorer config, found in the UserData\MelonPreferences.cfg file.

extremeblackliu commented 2 years ago

delay launch is working, but right eye viewing angle is still fucked up the game ui background . btw if start without delay , the menu gone after MelonLoader console "[OVRPlugin][INFO] UnityPluginLoad", idk if there is same problem on other game , this is still a problem needs to notice. the menu also gone in game thanks for helping , problem solved.