Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: SceneManager.sceneUnloaded override failed: System.InvalidOperationException: Sequence contains no elements #688

Open
6 of 7 tasks
iestyn129 opened this issue Jul 7, 2024 · 3 comments
Labels
Bug / Issue Something isn't working User Support This post was made to ask about an issue the user is having Work-in-Progress This issue or pull request is being worked on currently

Comments

@iestyn129
Copy link

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.

@iestyn129
Copy link
Author

iestyn129 commented Jul 7, 2024

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

@HerpDerpinstine HerpDerpinstine added Bug / Issue Something isn't working Work-in-Progress This issue or pull request is being worked on currently User Support This post was made to ask about an issue the user is having labels Jul 12, 2024
@HerpDerpinstine
Copy link
Member

HerpDerpinstine commented Jul 12, 2024

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.

@iceynano
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug / Issue Something isn't working User Support This post was made to ask about an issue the user is having Work-in-Progress This issue or pull request is being worked on currently
Projects
None yet
Development

No branches or pull requests

3 participants