Reloaded-Project / Reloaded-II

Universal .NET Core Powered Modding Framework for any Native Game X86, X64.
GNU General Public License v3.0
514 stars 72 forks source link

Bug: "Attempted to call a UnmangedCallersOnly method from managed code" when launching Granbule Fantasy Relink #400

Open sodamouse opened 1 week ago

sodamouse commented 1 week ago

Describe the Bug Error "Attempted to call a UnmangedCallersOnly method from managed code" occurs when trying to launch Granbule Fantasy: Relink through the mod manager.

To Reproduce

  1. Install Reloaded II
  2. Install GBRF mod manager
  3. Attempt to start the game

Expected Behaviour The game should start.

Screenshots ShareX_DyASjFz3iL

Additional Context No SpecialK

sodamouse commented 1 week ago

1.27.11 // .NET 8.0.4

sodamouse commented 1 week ago

On closer inspection, simply having the manager launch the game is sufficient to trigger this bug. No need for GBRF mod manager to be installed.

Sewer56 commented 1 week ago

image

Cannot reproduce on clean game install.


Anyway. Since the crash handler isn't kicking in, we're going to have to manually collect the info.

  1. Enable Collecting Crash Dumps
  2. Run the game, let it crash
  3. Copy the crash dump from %LOCALAPPDATA%\CrashDumps (you can paste this path in explorer)
  4. Upload the crash dump.

image

Note: Crash dumps contain file paths, which will likely contain your username, so if you consider that info sensitive; consider messaging me directly.

sodamouse commented 1 week ago

Hi, i will post the crash log tmr.