Hi,
I may be missing something obvious here:
- We are executing the following server side code in the match loop handler, which fails unless the collection user ID is set to “00000000-0000-0000-0000-000000000000”. The collections are created in the match loop by a similar method (storageWrite).
nk.storageDelete([
{
collection: "island-user-instances_0_1_B_Wood_Set",
key: "-6_0_-162",
},
]);
Isn’t the server authorized to write/delete collections regardless of their ownership?
The error in question that crashes the server:
{"level":"warn","ts":"2021-07-21T20:47:36.825Z","caller":"server/match_handler.go:287","msg":"Stopping match after error from match_loop execution","mid":"1508b848-713e-4879-962a-51057a8d5d68","tick":351,"error":"GoError: failed to remove storage: Storage delete rejected - not found, version check failed, or permission denied. at github.com/heroiclabs/nakama/v3/server.(*runtimeJavascriptNakamaModule).storageDelete.func1 (native)"}