How would you go about creating a datastore error? I’m testing my saving system and I want to see if it works if there is a datastore error.
1 Like
Describe what you mean by an error? A failure to create a new record, a failure to update an existing record?
1 Like
A failure to update an existing record. [updating an intvalue record]
1 Like
Then this shouldn’t cause too much of an issue the user who experienced the record update failure would just lose a little bit of progress. What you could do is grab that IntValue value before an expected change and then once an attempt has been made to change the record compare the new value with the old value. If the values are the same then the record update clearly failed and you could retry this process until the record change is successful.
2 Likes