[Bug]: SceneManager.sceneUnloaded override failed: System.InvalidOperationException: Sequence contains no elements
iestyn129 opened this issue ยท 3 comments
All of the following criteria must be met
- All Requirements must be installed.
- Changed the title so that it doesn't just says "[Bug]: "
- I have searched the GitHub issues for my bug, even in the closed issues.
All of the following are optional to answer
- Tried reinstalling the Game.
- Tried reinstalling MelonLoader.
- Tried restarting PC.
- Was able to see the Start Screen.
Describe the issue.
This issue occurs when booting the game "My Singing Monsters Playground". The error itself changes, being System.InvalidOperationException: Sequence contains no elements
or System.InvalidOperationException: Sequence contains more than one element
. From what I can tell, the error occurs when converting an Action
to a UnityAction
. The game loads, but MelonLoader doesn't. The issue appears on versions 0.6.1, 0.6.2, and 0.6.4. Versions 0.5.5, 0.5.7, and 0.6.3 do not load the game at all.
Latest.log
Did you attach your log file?
Yes, I attached my log file to the text box above.
Small update: this issue seems to be a problem with some games using Unity 2022.3.22f1, and sometimes only occurs when using certain mods
Have you tried using the latest alpha-development nightly build for MelonLoader v0.6.5?
Should be able to use the Manual ZIP tab in the installer to install it.
Im working on GF2 Exilium, got the same error in alpha dev release, for the v0.6.5, here is the log:
Latest.log
for v0.5.7, there is a probability of successfully loading the DLL, but most of the time it will fail:
Success-debug.log
Failed.log
I'm new to unity, so I don't know the specific reason for the problem