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] #758

Open
fbda opened this issue Jan 3, 2023 · 2 comments · May be fixed by #777
Open

[BUG] #758

fbda opened this issue Jan 3, 2023 · 2 comments · May be fixed by #777
Labels
bug Something isn't working

Comments

@fbda
Copy link

fbda commented Jan 3, 2023

  • Windows client
  • 0.212.9
  • 0.9.9.11

Char not Save when logout

Logout with errors, CHAR not Saved

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Skills.Save (ZPackage pkg) (at <35c0f7aa1999477788815a7bf78200d7>:0)
Player.Save (ZPackage pkg) (at <35c0f7aa1999477788815a7bf78200d7>:0)
PlayerProfile.SavePlayerData (Player player) (at <35c0f7aa1999477788815a7bf78200d7>:0)
Game.SavePlayerProfile (System.Boolean setLogoutPoint) (at <35c0f7aa1999477788815a7bf78200d7>:0)
Game.Shutdown () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Game.Logout () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Menu.Logout () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Menu.OnLogoutYes () (at <35c0f7aa1999477788815a7bf78200d7>:0)
UnityEngine.Events.InvokableCall.Invoke () (at :0)
UnityEngine.Events.UnityEvent.Invoke () (at :0)
UnityEngine.UI.Button.Press () (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.EventSystems.EventSystem:Update()

@fbda fbda added the bug Something isn't working label Jan 3, 2023
@bg364
Copy link

bg364 commented Jan 6, 2023

It is most likely related to Fishing skill (wasn't fishing changed in Valheim in last updates?)

@Onnes11
Copy link

Onnes11 commented Jan 15, 2023

We hit this problem on our server, and I think I've managed to get it to reproduce on a clean, minimal setup.

  1. Fresh V+ install through r2modman
  2. (Important) Enable PlayerProjectile and enableScaleWithSkillLevel
  3. Fresh character, fresh world
  4. Spawn in fishingrod and fishingbait
  5. Cast once so there's any amount of exp gained in fishing
  6. Logout
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Skills.Save (ZPackage pkg) (at <35c0f7aa1999477788815a7bf78200d7>:0)
Player.Save (ZPackage pkg) (at <35c0f7aa1999477788815a7bf78200d7>:0)
PlayerProfile.SavePlayerData (Player player) (at <35c0f7aa1999477788815a7bf78200d7>:0)
Game.SavePlayerProfile (System.Boolean setLogoutPoint) (at <35c0f7aa1999477788815a7bf78200d7>:0)
Game.Shutdown () (at <35c0f7aa1999477788815a7bf78200d7>:0)
Game.OnApplicationQuit () (at <35c0f7aa1999477788815a7bf78200d7>:0)

Grantapher added a commit to Grantapher/ValheimPlus that referenced this issue Jan 30, 2023
Grantapher added a commit to Grantapher/ValheimPlus that referenced this issue Jan 30, 2023
@Grantapher Grantapher mentioned this issue Feb 6, 2023
Grantapher added a commit to Grantapher/ValheimPlus that referenced this issue Mar 16, 2023
Grantapher added a commit to Grantapher/ValheimPlus that referenced this issue Mar 16, 2023
rozwel pushed a commit to rozwel/ValheimPlus that referenced this issue Mar 27, 2023
Grantapher added a commit to Grantapher/ValheimPlus that referenced this issue Mar 29, 2023
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
3 participants