Sorry to hear you folks are having issues. I'm not yet sure what could be causing this since errors cannot include line numbers unfortunately, and the method that seems to be having the error (Backpacks.Get()) doesn't appear to be able to throw a NullReferenceException under normal circumstances. That method also hasn't changed since 2 versions ago, so it's unclear why this error would suddenly start happening. I haven't been able to reproduce this but will attempt it after work with the info provided. One trend so far based on the above comments is that it happens with the backpack.open console command (or GUI button which runs that command). Any more info you can provide to reproduce the issue is appreciated.
Not sure what this means. Could you elaborate? Are you also experiencing this issue? The above message is not helpful in debugging this issue whatsoever.
That's interesting. Running the /backpackgui command should actually remove the gui button so you shouldn't be able to click it anymore after running that command. Did you mean that this happens after you have run that command a second time to re-enable the gui button, or is there possibly a bug where the gui button isn't removed?
Also, when reinstalling the plugin for testing purposes, please perform a full reset, by deleting the Data/Backpacks.json file and Data/Backpacks/ directory. If the plugin works after that, then it indicates something may have been wrong with the data files.
I still use the original "B" key to open the backpack and either tab/esc key to close it, i also have the backpack gui which i can use (slower) by pressing chat key and pressing "button" on the screen and pressing it again or tab/esc to close it, i am not getting any errors in console. so it might be something else in the config (a pure guess)
I have tried the /backpack in chat (much slower) and it opens the backpack and again no errors in console.
as it is a very basic config it would be hard to make a mistake with it
{
"Drop on Death (true/false)": true,
"Erase on Death (true/false)": false,
"Use Blacklist (true/false)": false,
"Clear Backpacks on Map-Wipe (true/false)": false,
"Only Save Backpacks on Server-Save (true/false)": false,
"Blacklisted Items (Item Shortnames)": [],
"GUI Button": {
"Image": "https://i.imgur.com/I2xhUzB.jpg?1",
"Background color (RGBA format)": "0.3 0.3 0.3 0.8",
"GUI Button Position": {
"Anchors Min": "0.4 0.0",
"Anchors Max": "0.4 0.0",
"Offsets Min": "-245 18",
"Offsets Max": "-205 78"
}
},
"Backpack Size (1-7 Rows)": 7
}