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

Cannot get ID and null argument exception ensues, game slows and becomes unresponsive #21

Open
ChrisDiDonna opened this issue Jan 15, 2024 · 3 comments

Comments

@ChrisDiDonna
Copy link

Describe the bug
I get the following error after the scene loads.

[Error : Unity Log] MissingMethodException: Method not found: long .ZDOMan.GetMyID()
Stack trace:
DungeonReset.Timer+d__7.MoveNext () (at C:/Repos/Valheim.TeklaMods/~DungeonReset/Scripts/Timer.cs:41)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <50b18efe22344b9eb3b7d77b08ea287f>:0)

Then the log starts filling with these faster than the CPU can keep up:

[Error : Unity Log] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Stack trace:
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <834b2ded5dad441e8c7a4287897d63c7>:0)
SEMan.Update (ZDO zdo, System.Single dt) (at :0)
(wrapper dynamic-method) Character.DMDCharacter::CustomFixedUpdate(Character,single)
MonoUpdaters.FixedUpdate () (at :0)

To Reproduce
I suspect because I have a Ward on top of a Crypt that reset is having trouble resetting the Crypt.

Expected behavior
The game doesn't slow down with null exceptions.

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser Chrome
  • Version 120
@ChrisDiDonna
Copy link
Author

I am using Thunderstore mod manager

@ChrisDiDonna
Copy link
Author

Further testing:

  • At one point my position got flung across the map and I landed in a different location. The error persists. SO it isn't anything to to with the ward I put on the crypt.
  • Tried to get another player to run the instance and get mobs to kill me. Didn't work.
  • Loaded a new local game world with a different character, still got the error.

@T3kla
Copy link
Owner

T3kla commented Jan 16, 2024

All my mods have been discontinued for the longest time!

Some of them have been forked and exists in someone else's repos.
All of them are open source and you can fork > fix > upload them yourself!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants