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

Issue: [HudNumBahs] #18

Open
Alphaccca opened this issue Jun 26, 2022 · 1 comment
Open

Issue: [HudNumBahs] #18

Alphaccca opened this issue Jun 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Alphaccca
Copy link

Describe the bug
NullReferenceException spam when spectating players if you join a lobby mid-run.
Will crash the game.

To Reproduce
Steps to reproduce the behavior:

  1. Join a started lobby
  2. the end

Expected behavior
Not spam the console with NullReferenceException and crash the game.

Additional context
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ExtraHudInfo.Main+EHIComponent.MoneyUpdate () (at <8a58b71d1d2f44ed965e01d8fe1bbe7f>:IL_0001)
ExtraHudInfo.Main+EHIComponent.Update () (at <8a58b71d1d2f44ed965e01d8fe1bbe7f>:IL_0008)

Full Log:
LogOutput.log

@Alphaccca Alphaccca added the bug Something isn't working label Jun 26, 2022
@DestroyedClone
Copy link
Owner

Oh, I guess I didn't really test this mod that well, I'll look into resolving it. References are only setup when the HUD is created, which is fine for a single life, but the HUD stays alive while the body dies. Slipped my mind about multiplayer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants