originalnicodr / CinematicUnityExplorer

UnityExplorer mod fork focused on providing tools for creating marketing material for Unity games.
GNU General Public License v3.0
104 stars 10 forks source link

[Bug]: CarX Street crashes after loading the plugin #89

Closed Andryshik345 closed 1 month ago

Andryshik345 commented 1 month ago

Are you on the latest version of CinematicUnityExplorer?

Which release are you using?

MelonLoader IL2CPP CoreCLR

Which game did this occur on?

CarX Street PC

Describe the issue.

MelonLoader crashes almost immediately after loading the plugin, on [CinematicUnityExplorer] Initialized UnityCrashPrevention for: Canvas.get_renderingDisplaySize. Tried both MelonLoader 0.5.7 and 0.6.4, also tried general IL2CPP and IL2CPP CoreCLR versions, also tried release and nightly builds - crash moment is the same (well, on 0.5.7 it complains about some missing dependencies). Also tried BepInEx 6 with no luck.

Relevant log output

[11:56:13.525] ------------------------------
[11:56:13.542] MelonLoader v0.6.4 Open-Beta
[11:56:13.543] OS: Windows 10
[11:56:13.543] Hash Code: 57EE1B42E1FB9958A6BA7AB968E66098D05A9C82A5236075512B7E61BC7C2A65
[11:56:13.543] ------------------------------
[11:56:13.543] Game Type: Il2cpp
[11:56:13.543] Game Arch: x64
[11:56:13.544] ------------------------------
[11:56:13.544] Core::BasePath = E:\Games\CarX Street
[11:56:13.544] Game::BasePath = E:\Games\CarX Street
[11:56:13.544] Game::DataPath = E:\Games\CarX Street\CarX Street_Data
[11:56:13.544] Game::ApplicationPath = E:\Games\CarX Street\CarX Street.exe
[11:56:13.546] Runtime Type: net6
[11:56:13.907] ------------------------------
[11:56:13.907] Game Name: CarX Street
[11:56:13.908] Game Developer: CarX Technologies
[11:56:13.909] Unity Version: 2022.3.19f1
[11:56:13.909] Game Version: UNKNOWN
[11:56:13.909] ------------------------------

[11:56:14.377] Preferences Loaded!

[11:56:14.613] Loading UserLibss from 'E:\Games\CarX Street\UserLibs'...
[11:56:14.613] ------------------------------
[11:56:14.622] Melon Assembly loaded: '.\UserLibs\UniverseLib.ML.IL2CPP.Interop.dll'
[11:56:14.623] SHA256 Hash: '135371863c803bcec2d83c26f95d3942677bd7b2687fc33db0f376bc651e89c9'

[11:56:14.628] Loading Plugins from 'E:\Games\CarX Street\Plugins'...
[11:56:14.630] 0 Plugins loaded.
[11:56:15.408] Loading Il2CppAssemblyGenerator...
[11:56:15.448] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[11:56:15.927] [Il2CppAssemblyGenerator] Game Not Found on RemoteAPI Host (https://api.melonloader.com/api/v1/game/carx-street)
[11:56:15.927] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[11:56:15.929] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[11:56:15.930] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[11:56:15.931] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[11:56:15.937] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.15
[11:56:15.937] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.6-ci.433+45e22c2cb80a9586114a1815d77cc20104fd896c
[11:56:15.938] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2022.3.19
[11:56:15.939] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[11:56:15.939] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[11:56:15.940] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[11:56:15.941] [Il2CppAssemblyGenerator] Checking GameAssembly...
[11:56:16.183] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[11:56:16.185] Loading Mods from 'E:\Games\CarX Street\Mods'...
[11:56:16.185] ------------------------------
[11:56:16.201] Melon Assembly loaded: '.\Mods\CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll'
[11:56:16.201] SHA256 Hash: 'e48f164dbe065575713e47b274e7201fbc42af528d9a8307a1cc84589c356b52'

[11:56:16.350] ------------------------------
[11:56:16.351] CinematicUnityExplorer v1.2.0
[11:56:16.351] by originalnicodr, Sinai, yukieiji
[11:56:16.351] Assembly: CinematicUnityExplorer.ML.IL2CPP.CoreCLR.dll
[11:56:16.352] ------------------------------
[11:56:16.352] ------------------------------
[11:56:16.352] 1 Mod loaded.

[11:56:17.177] Class::Init signatures have been exhausted, using a substitute!
[11:56:17.409] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[11:56:17.445] Registered mono type MelonLoader.Support.MonoEnumeratorWrapper in il2cpp domain
[11:56:17.446] Registered mono type MelonLoader.Support.SM_Component in il2cpp domain
[11:56:17.454] Support Module Loaded: E:\Games\CarX Street\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll
[11:56:17.485] [CinematicUnityExplorer] CinematicUnityExplorer 1.2.0 initializing...
[11:56:17.505] [CinematicUnityExplorer] [UniverseLib] UniverseLib 1.5.6 initializing...
[11:56:17.508] Registered mono type UniverseLib.UniversalBehaviour in il2cpp domain
[11:56:17.801] Registered mono type UniverseLib.Runtime.Il2Cpp.Il2CppManagedEnumerator in il2cpp domain
[11:56:17.857] [CinematicUnityExplorer] [UniverseLib] Finished UniverseLib initial setup.
[11:56:17.876] Registered mono type UnityExplorer.ExplorerBehaviour in il2cpp domain
[11:56:17.955] [CinematicUnityExplorer] Initialized UnityCrashPrevention for: Canvas.get_renderingDisplaySize
Andryshik345 commented 1 month ago

If to be precise, on melonloader 0.5.7, even if ignoring that warning about dependencies, CUE just won't load (no any new logs in Mods directory). Unity version is 2022.3.19f1 (244b723c30a6)

Andryshik345 commented 1 month ago

Closing it, as it is not UE issue.