I’ve created a system where I can transfer items between players, and I’m experiencing an issue with reading the items back from the storage engine. The storage items are created authoritatively using the typescript framework in a custom RPC, which is invoked by another player:
Shouldn’t the userId property combined with permissionRead: 1 in the write request make it possible for the entry to also be read by the client framework?
Edit: disregard this post… I should’ve used ListUsersStorageObjectsAsync instead… Still getting used to the API
Keeping the remaining post for reference in case anybody else runs into the issue:
–
I looked into this a bit more.
The dotnet client framework does not provide a way to pass along the userId, and instead always sends string.Empty:
I’ve tried making a local build that exposes the userId as a parameter, and the storage request now finds the items while the read permission is set to 1.