yukieiji / UnityExplorer

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

[Bug]: UI not clickable #13

Open Just2good opened 6 months ago

Just2good commented 6 months ago

Are you on the latest version of UnityExplorer?

Which release are you using?

BepInEx IL2CPP CoreCLR

Which game did this occur on?

Solo Leveling: Arise

Describe the issue.

Unable to click on any of the UI. Tried with Disable EventSystem override = true. The UI is able to be moved and resized but nothing is able to be clicked on. I also tried downloading 4.11.1 to no avail.

BepInEx version is in log output below.

Using BIE 6.X be.647+ IL2CPP(CoreCLR) plugin. UnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip

Unity: 2021.3.25f1

Relevant log output

[Message: Preloader] BepInEx 6.0.0-be.688 - Solo_Leveling_ARISE
[Message: Preloader] Built from commit 49015217f3becf052d33fa4658ac19229f5daa3a
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 64-bit (x64)
[Info   :   BepInEx] Running under Unity 2021.3.25f1
[Info   :   BepInEx] Runtime version: 6.0.7
[Info   :   BepInEx] Runtime information: .NET 6.0.7
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Info   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info   :   BepInEx] 1 plugin to load
[Info   :   BepInEx] Loading [UnityExplorer 4.11.2]
[Message:UnityExplorer] UnityExplorer 4.11.2 initializing...
[Message:UnityExplorer] [UniverseLib] UniverseLib 1.5.6 initializing...
[Info   :Il2CppInterop] Registered mono type UniverseLib.UniversalBehaviour in il2cpp domain
[Info   :Il2CppInterop] Registered mono type UniverseLib.Runtime.Il2Cpp.Il2CppManagedEnumerator in il2cpp domain
[Message:UnityExplorer] [UniverseLib] Finished UniverseLib initial setup.
[Info   :Il2CppInterop] Registered mono type UnityExplorer.ExplorerBehaviour in il2cpp domain
[Message:UnityExplorer] Initialized UnityCrashPrevention for: Canvas.get_renderingDisplaySize
[Message:   BepInEx] Chainloader startup complete
[Message:UnityExplorer] [UniverseLib] Loaded Unhollowed modules in 7.2590003 seconds.
[Message:UnityExplorer] [UniverseLib] Setup deobfuscation cache in 0.097 seconds.
[Message:UnityExplorer] [UniverseLib] Initialized Legacy Input support
[Message:UnityExplorer] [UniverseLib]    IL2CPP method has no corresponding pointer, aborting patch of UnityEngine.AssetBundle.UnloadAllAssetBundles
[Info   :Il2CppInterop] Registered mono type UniverseLib.AssetBundle in il2cpp domain
[Message:UnityExplorer] [UniverseLib] Loaded modern bundle for Unity 2021.3.25f1
[Message:UnityExplorer] [UniverseLib] This game does not ship with the 'UI/Default' shader, using manual Default Shader...
[Message:UnityExplorer] [UniverseLib] UniverseLib 1.5.6 initialized.
[Message:UnityExplorer] Creating UI...
[Message:UnityExplorer] UnityExplorer 4.11.2 (IL2CPP) initialized.
UnityExplorer 4.11.2 initializing...
[UniverseLib] UniverseLib 1.5.6 initializing...
[UniverseLib] Finished UniverseLib initial setup.
Initialized UnityCrashPrevention for: Canvas.get_renderingDisplaySize
[UniverseLib] Loaded Unhollowed modules in 7.2590003 seconds.
[UniverseLib] Setup deobfuscation cache in 0.097 seconds.
[UniverseLib] Initialized Legacy Input support
[UniverseLib]    IL2CPP method has no corresponding pointer, aborting patch of UnityEngine.AssetBundle.UnloadAllAssetBundles
[UniverseLib] Loaded modern bundle for Unity 2021.3.25f1
[UniverseLib] This game does not ship with the 'UI/Default' shader, using manual Default Shader...
[UniverseLib] UniverseLib 1.5.6 initialized.
Creating UI...

UnityExplorer 4.11.2 (IL2CPP) initialized.
yukieiji commented 6 months ago

I did a little research on this game and it looks like the game isn't currently in service yet, is that correct?

Just2good commented 6 months ago

I did a little research on this game and it looks like the game isn't currently in service yet, is that correct?

Currently in Early Access for Canada/Thailand (Though you only need a VPN to start the download for PC and can shut it off and will download the rest + play just fine)

yukieiji commented 6 months ago

Are you in Early Access and some content is blocked?

Xeleron commented 6 months ago

Are you in Early Access and some content is blocked?

https://sololv.gcdn.netmarble.com/pcclient/sololv/1.0.9/Fip7ZeivOU5Y_1710726901931.zip

You can get it here.

RaphxelS commented 6 months ago

Got the same issue as well. The keybinds, move, and resize are working correctly but not the click, with or without Disable_EventSystem_Override

yukieiji commented 6 months ago

Got the same issue as well.

Is it happening in the same game? Or not?

RaphxelS commented 6 months ago

Is it happening in the same game? Or not?

Yes same game, Solo Leveling Arise

yukieiji commented 6 months ago

Hm, this following log([UniverseLib] This game does not ship with the 'UI/Default' shader, using manual Default Shader...) shows that the game may be changing the UI around Material. It's possible to force the game to rewrite Material at regular intervals after the game starts, but this could have a large damage on the game itself.

The response is going to depend on whether this Material change was intended or a issue. If it's intended, no action can be taken. If it's a issue, we will wait for the game to respond.

Either way, it is currently impossible to tell which it is because the game is in Early Access, having just been released...

Just2good commented 6 months ago

Looking at sinai-dev they fixed the default shader issue with some Unity versions. Unity Explorer 4.8.2

Maybe it can be done for 2021.3.25f1

Some references from issues: [Bug]: AssetBundle not working on Unity 5.3.4 The Forest GUI Shader - pink

yukieiji commented 6 months ago

Is this actually what the screen looks like?

Just2good commented 6 months ago

Is this actually what the screen looks like?

No those are just example references that I found for default shader issue stuff.

The Unity Explorer UI is normal except buttons aren't clickable at all. Though you can move windows and resize them but that is about it.

yukieiji commented 6 months ago

You say only the buttons don't work, are all buttons not working or only the ones shown above?

Xeleron commented 6 months ago

You say only the buttons don't work, are all buttons not working or only the ones shown above?

All of the buttons, not just the ones at the top.

Just2good commented 6 months ago

You say only the buttons don't work, are all buttons not working or only the ones shown above?

You say only the buttons don't work, are all buttons not working or only the ones shown above?

All of the buttons, not just the ones at the top.

As Xeleron said, every single button. It acts like its clickthrough and clicks through the Unity Explorer UI buttons into the game.

ElCapor commented 5 months ago

@yukieiji I'm having this issue too with AFK Journey, UI is not clickable , only resize & move. (You might not be able to replicate on that game cuz it's protected with metadata encryption), and the UI doesnt get any of it's values / logs explorer updated.

ElCapor commented 5 months ago

The same issue happens with melon loader too. I'm not getting any shader error or warning though.

UnityExplorer 4.12.0 initializing... [UniverseLib] UniverseLib 1.5.6 initializing... [UniverseLib] Finished UniverseLib initial setup. Initialized UnityCrashPrevention for: Canvas.get_renderingDisplaySize [UniverseLib] Loaded Unhollowed modules in 7.5690002 seconds. [UniverseLib] Setup deobfuscation cache in 0.18100001 seconds. [UniverseLib] Initialized Legacy Input support [UniverseLib] IL2CPP method has no corresponding pointer, aborting patch of UnityEngine.Cursor.visible [UniverseLib] IL2CPP method has no corresponding pointer, aborting patch of UnityEngine.AssetBundle.UnloadAllAssetBundles [UniverseLib] Loaded modern bundle for Unity 2021.3.33f1 [UniverseLib] UniverseLib 1.5.6 initialized. Creating UI...

UnityExplorer 4.12.0 (IL2CPP) initialized.

yukieiji commented 5 months ago

What these two games have in common is the following

therefore, I consider this bug to be of low priority for fixing.