You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every day, my Rust server triggers this type of error hundreds of times. This results in many Rust players being unable to play normally, severely affecting their gaming experience. They repeatedly try to reconnect, only to be disconnected again due to the error, until most players run out of patience and give up on Rust. Please pay attention to this issue and fix it promptly. Sincere thanks. @garrynewman
Describe the bug
When the SteamInventory GetDefinitionsWithPricesAsync function is called, the result may return null.
To Reproduce
Steamworks.SteamInventory.GetDefinitionsWithPricesAsync()
Calling Code
Expected behavior
The function must either return an empty list or have GetDefinitionsWithPricesOrDefaultAsync in its name.
Desktop (please complete the following information):
Additional context
Violates the principles of clean code and can cause exception with null, when you don't expect it..
Fixed code
The text was updated successfully, but these errors were encountered: