LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.22k stars 459 forks source link

[Bug]: MelonLoader crashes for Death Must Die #591

Open damianolszewski opened 6 months ago

damianolszewski commented 6 months ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

Bug occurs for game Death Must Die. Versions 0.6.1 and 0.6.0 don't work and crash instantly. Console windows pops up and instantly stops working. Game doesn't launch. For version 0.5.7 it does work but during loading it crashes and this error occurs: Screenshot_48 And this is visible in logs:

[20:13:08.718] [MelonStartScreen] Initializing...
[20:13:08.741] [MelonStartScreen] Using Start Screen Theme: "Default"
[20:13:10.147] [MelonStartScreen] [ERROR] Exception while rendering: System.NotImplementedException: The method or operation is not implemented.

  at UnityPlayer.GfxDevice.WaitForLastPresentationAndGetTimestamp (System.UInt32 deviceType) [0x00038] in <458ba450aca74195b4ba3d1c13011f5d>:0 

  at MelonLoader.MelonStartScreen.ScreenRenderer.Render () [0x00025] in <458ba450aca74195b4ba3d1c13011f5d>:0 

It works if I add --melonloader.disablestartscreen to steam start commands but Unity playback engine then crashes while exiting the game (which isn't that big of a problem because you already exit the game but the error still pops up so it is annoying)

Did you attach your log file?

Yes, I attached my log file to the text box above.

RinLovesYou commented 6 months ago

You can disable the start screen with a launch option, which you can find in the Readme. That will get you further on 0.6.1

damianolszewski commented 6 months ago

You can disable the start screen with a launch option, which you can find in the Readme. That will get you further on 0.6.1

That only helps on 0.5.7. On 0.6.1 it doesn't even launch and instantly crashes after cmd window pops up.