Hi team,
When using keyboard + mouse for NRFTW, it seems that sending certain keyboard inputs (specifically holding down SHIFT and CTRL to have the character follow the mouse cursor, while repeatedly pressing E) will cause the game to crash; after a series of NREs which results in Unity to terminate the game.
NullReferenceException: Object reference not set to an instance of an object.
at Moon.Forsaken.Effects.ToggleByHotkey.Update () [0x00000] in <00000000000000000000000000000000>:0
Unstable environment, too many exceptions, terminating build.
This does not create a .dmp file under /crashpad/reports/*.
Initially thought it was related to the GFX / GPU, but after a series of testing, was able to isolate the cause to specific keyboard inputs.
The crash can be reproduced consistently in Marin Village, along the path from the patch of tomatoes to the patch of herbs next to Irmgard.
I’ve attached the following files in the Google drive here:
ctrlshifte.mp4(video of crash usingSHIFT,CTRLandEonly)shiftwasd_ctrlshifte.mp4(usingSHIFT,WASDandEinitially, thenSHIFT,CTRLandEwhich causes the crash)DxDiag.txtPlayer.log(containing logs from the shiftwasd video when it crashed)Player-prev.log(containing logs from the ctrlshifte video)
Was able to have another friend reproduce this on his setup by executing the same controls, and was able to confirm that there’s no crashes when using a controller (since it doesn’t have the same “cursor-following shortcuts”).
Let me know if I can provide additional information on this, and thanks for developing such a great game!