Summary: Game consistently throws ArgumentNullException whenever a specific buff from my mod expires.
Game Version: V1.0 b328
OS/Version: Microsoft Windows 10 Pro 10.0.19045 Build 19045
CPU Model: Intel Core i3-10105F
System Memory: 32 GB
GPU Model and VRAM: nVidia GTX 1650 4 GB
Screen Resolution: 1680x1050
Video Settings: Custom
Game mode: SP
Map: Navezgane
Did you wipe old saves? Yes
Did you start a new game? Yes
Did you validate your files? Yes
Are you using any mods? Yes
Did you try to reproduce without mods? No
EAC on or off? Off
Bug Description:
The game consistently throws ArgumentNullException in a seemingly infinite loop whenever a specific buff from my mod 7 Days of Insomnia (v1.0.0.0b) expires, regardless of it expiring due to time running out and triggering a RemoveBuff, or by removing the buff from the console with the debuff command. The buff icon never disappears from the HUD, but the display_value does. Upon closing the game (with alt+F4), starting it again, and loading the same save, the loop triggers again but this time it does so immediately, without any input. The HUD continues to display the buff icon just as before without a display_value. The only way to resolve the issue seems to be starting a new save, but the same problem occurs in the new save the moment that specific buff expires, regardless of the map chosen. One user of my mod reported experiencing the same issue with the same buff.
Detailed steps to reproduce the bug:
1) Launch the game.
2) Start a new game in Navezgane.
3) Enter this console command after the character loads into the world:
buff bb7doi_buffinsomnia
4) Wait for 1 to 10 seconds.
5) Enter this console command:
debuff bb7doi_buffinsomnia
Actual result: (description of what is occurring)
Console shows ArgumentNullException repeatedly nonstop.
Expected result: (what you expect to occur)
Buff is removed from character.
Link to Pastebin Output Log: https://pastebin.com/raw/pP5mFM1P
Recommended Comments