GrahamKracker / BTD6EpicGamesModCompat

The Unlicense
7 stars 5 forks source link

Unable to load Assembly CSharp #9

Open rgamer82 opened 6 months ago

rgamer82 commented 6 months ago

Here is the little code trauma dump. Not sure what to do or if it is a actuall problem.

[NewEntryPoint] Passing ptr to LoadAssemblyAndGetFuncPtr back to host...
[NewEntryPoint] Configuring imports...
[NewEntryPoint] Initializing. In default load context: True
[22:01:20.215] ------------------------------
[22:01:20.216] MelonLoader v0.6.1 Open-Beta
[22:01:20.217] OS: Windows 11
[22:01:20.217] Hash Code: 696B58144EEC73C72FA36A811CA73312EEE4EC28AD5E3527BDA1E14F388A
[22:01:20.217] ------------------------------
[22:01:20.218] Game Type: Il2cpp
[22:01:20.218] Game Arch: x64
[22:01:20.218] ------------------------------
[22:01:20.218] Core::BasePath = D:\Epic Games\BloonsTD6
[22:01:20.218] Game::BasePath = D:\Epic Games\BloonsTD6
[22:01:20.218] Game::DataPath = D:\Epic Games\BloonsTD6\BloonsTD6_Data
[22:01:20.219] Game::ApplicationPath = D:\Epic Games\BloonsTD6\BloonsTD6.exe
[22:01:20.219] Runtime Type: net6
[22:01:20.291] ------------------------------
[22:01:20.291] Game Name: BloonsTD6-Epic
[22:01:20.291] Game Developer: Ninja Kiwi
[22:01:20.292] Unity Version: 2022.3.7f1
[22:01:20.293] Game Version: 41.2
[22:01:20.293] ------------------------------

[22:01:20.850] Preferences Loaded!

[22:01:20.867] Loading Plugins from 'D:\Epic Games\BloonsTD6\Plugins'...
[22:01:20.869] ------------------------------
[22:01:20.975] Melon Assembly loaded: '.\Plugins\BTD6EpicGamesModCompat.dll'
[22:01:20.975] SHA256 Hash: '8576e150d7f25afd57c6fd03d7f602c22ff9c91ec8e58ce70db84aa77b8dd670'

[22:01:21.004] ------------------------------
[22:01:21.004] BTD6 Epic Games Mod Compat v1.2.0
[22:01:21.004] by GrahamKracker
[22:01:21.006] Assembly: BTD6EpicGamesModCompat.dll
[22:01:21.006] ------------------------------
[22:01:21.007] ------------------------------
[22:01:21.009] 1 Plugin loaded.
[NewEntryPoint] PreStarting.
[22:01:25.469] Loading Il2CppAssemblyGenerator...
[22:01:25.509] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[22:01:29.428] [Il2CppAssemblyGenerator] Game Not Found on RemoteAPI Host (https://api.melonloader.com/api/v1/game/bloonstd6-epic)
[22:01:29.428] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[22:01:29.429] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[22:01:29.429] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[22:01:29.431] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[22:01:29.447] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.10
[22:01:29.447] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.5
[22:01:29.448] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2022.3.7
[22:01:29.448] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[22:01:29.452] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[22:01:29.452] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[22:01:29.453] [Il2CppAssemblyGenerator] Checking GameAssembly...
[22:01:29.567] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.
[NewEntryPoint] Starting.

[22:01:29.572] [BTD6_Epic_Games_Mod_Compat] Loading mods from D:\Epic Games\BloonsTD6\Mods...
[22:01:29.578] [BTD6_Epic_Games_Mod_Compat] ------------------------------

[22:01:29.579] [BTD6_Epic_Games_Mod_Compat] Retargeting mods...
[22:01:29.579] [BTD6_Epic_Games_Mod_Compat] ------------------------------
[22:01:29.611] [BTD6_Epic_Games_Mod_Compat] Melon Assembly loaded: '.\Mods\Btd6ModHelper.dll'
[22:01:29.611] [BTD6_Epic_Games_Mod_Compat] SHA256 Hash: '396238a85906299166fe53f2ef6ecc5cf22faa38ca07ebb197fec0de32b9c276'
[22:01:29.618] [BTD6_Epic_Games_Mod_Compat] System.IO.FileNotFoundException: Could not load file or assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
   at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit)
   at System.Attribute.GetCustomAttributes(Assembly element, Boolean inherit)
   at MelonLoader.MelonUtils.PullAttributesFromAssembly[T](Assembly asm, Boolean inherit) in D:\a\MelonLoader\MelonLoader\MelonLoader\MelonUtils.cs:line 216
   at MelonLoader.MelonUtils.PullAttributeFromAssembly[T](Assembly asm, Boolean inherit) in D:\a\MelonLoader\MelonLoader\MelonLoader\MelonUtils.cs:line 208
   at BTD6EpicGamesModCompat.Btd6Retargeter.GetPriority(MelonAssembly assembly) in C:\Users\gjguz\source\repos\BTD6EpicGamesModCompat\BTD6Retargeter.cs:line 28
[22:01:29.619] [BTD6_Epic_Games_Mod_Compat] System.IO.FileNotFoundException: Could not load file or assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
   at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit)
   at System.Attribute.GetCustomAttributes(Assembly element, Boolean inherit)
   at MelonLoader.MelonUtils.PullAttributesFromAssembly[T](Assembly asm, Boolean inherit) in D:\a\MelonLoader\MelonLoader\MelonLoader\MelonUtils.cs:line 216
   at MelonLoader.MelonAssembly.LoadMelons() in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\MelonAssembly.cs:line 228
   at BTD6EpicGamesModCompat.Btd6Retargeter.Retarget() in C:\Users\gjguz\source\repos\BTD6EpicGamesModCompat\BTD6Retargeter.cs:line 60

[22:01:29.620] Loading Mods from 'D:\Epic Games\BloonsTD6\Mods'...
[22:01:29.620] ------------------------------

[22:01:29.641] ------------------------------
[22:01:29.642] 0 Mods loaded.

[22:01:29.706] No Support Module Loaded!