ThinkInvis / RoR2-TinkersSatchel

A mod for Risk of Rain 2.
GNU General Public License v3.0
4 stars 4 forks source link

NullReferenceException spam with certain orange items #60

Closed Dumbino closed 2 years ago

Dumbino commented 2 years ago

Describe the Bug

Some equipment has no cooldown and spams the bepinex log when acquired/used, namely the Cardboard Box and Casual Camera, but there might be others.

To Reproduce

Steps to reproduce the behavior:

  1. Pick up a Cardboard Box or Casual Camera
  2. Use either one regardless of other items
  3. Note that neither has a cooldown and can immediately be used again (except the camera which still has its own minimum 3 seconds of rewind time required for activation)
  4. Check log file and see the error spam

Expected Behavior

For the intended cooldowns to be used and there to be no errors.

Console Log

https://pastebin.pl/view/617faba0

Additional Context

None, although the items still work perfectly fine in spite of the errors and 0 cooldowns.

ThinkInvis commented 2 years ago

You have a lot of other broken mods, any of which might be causing a cascading failure. Please ensure all your mods have had updates released after the SotV DLC release, and ideally after the latest game patch (May 26).

dc05e662a9297bea204d99a2b6bdee1300064477 may address the specific error being spammed in EquipmentIcon_Update; but this a. is almost certainly a symptom and not a cause, and b. has nothing to do with equipment cooldown.

ThinkInvis commented 2 years ago

Closing due to inactivity.