Character's loadout reverts to normal upon moving to the Bazaar

Specifications

  • Mod Version: 0.0.5

Expected Behavior

Going into the Bazaar should not modify the loadout used and retain everything that was used in the first stage.

Actual Behavior

Going into the Bazaar after Stage 1 produces 3 errors upon loading in.

[Error : Unity Log] NullReferenceException Stack trace: SkillsPlusPlus.SkillLevelIconController.ShowBuyButton (System.Boolean showButton) (at :0) SkillsPlusPlus.SkillPointsController.Update () (at :0)

After loading in, two more errors are produced.

[Error : Unity Log] NullReferenceException Stack trace: SkillsPlusPlus.SkillLevelIconController.SetCanUpgrade (System.Boolean canUpgrade) (at :0) SkillsPlusPlus.SkillPointsController.RefreshIconControllers () (at :0) SkillsPlusPlus.SkillPointsController.OnLevelChanged () (at :0) SkillsPlusPlus.SkillPointsController.OnRecalculateState (On.RoR2.CharacterBody+orig_RecalculateStats orig, RoR2.CharacterBody self) (at :0) DMD<>?1995353344._Hook<RoR2_CharacterBody::RecalculateStats>?-1436816640 (RoR2.CharacterBody ) (at :0) RoR2.CharacterBody.Start () (at <5e1a40d262134ca79e67a64202668d6c>:0)

[Error : Unity Log] NullReferenceException Stack trace: SkillsPlusPlus.SkillLevelIconController.ShowBuyButton (System.Boolean showButton) (at :0) SkillsPlusPlus.SkillPointsController.Update () (at :0)

When fully loaded, the character's loadout (in this case, Commando) is modified and reverts to default; this includes the skin that was used reverting back to normal.

Upon entering the Void Fields, more errors are produced.

[Error : Unity Log] NullReferenceException Stack trace: SkillsPlusPlus.SkillLevelIconController.ShowBuyButton (System.Boolean showButton) (at :0) SkillsPlusPlus.SkillPointsController.Update () (at :0)

[Error : Unity Log] NullReferenceException Stack trace: SkillsPlusPlus.SkillLevelIconController.SetCanUpgrade (System.Boolean canUpgrade) (at :0) SkillsPlusPlus.SkillPointsController.RefreshIconControllers () (at :0) SkillsPlusPlus.SkillPointsController.OnLevelChanged () (at :0) SkillsPlusPlus.SkillPointsController.OnRecalculateState (On.RoR2.CharacterBody+orig_RecalculateStats orig, RoR2.CharacterBody self) (at :0) DMD<>?1995353344._Hook<RoR2_CharacterBody::RecalculateStats>?-1436816640 (RoR2.CharacterBody ) (at :0) RoR2.CharacterBody.Start () (at <5e1a40d262134ca79e67a64202668d6c>:0)

[Error : Unity Log] NullReferenceException Stack trace: SkillsPlusPlus.SkillLevelIconController.ShowBuyButton (System.Boolean showButton) (at :0) SkillsPlusPlus.SkillPointsController.Update () (at :0)

Steps to Reproduce the Problem

  1. Start a game with a loadout using alternate skills and an alternate skin.
  2. Activate the Newt Altar on Stage 1
  3. Level up to 10 or so. (This might happen no matter what level you are.)
  4. Clear the teleporter event after a while, then enter the Bazaar. You should find that your loadout has changed and your skin has returned to normal. There will also be errors in the console. More errors should appear if you make your way to the Void Fields.