Ask a Question

Ask a Question
ANSWERED

Player joining chat

I have a question about Chat / ChatService. How do I have a player join an already created chat room? I figured I would find the currently available chatrooms with GetMyRooms(), but I don't see a JoinRoom() method in the docs.
ANSWERED

Microservice setup and custom return types

I have build errors when trying to make a standalone build, that make me think I may have set up my microservices incorrectly. I often create custom classes for return types of MS functions, that I declare within the MS class. Since the autogenerated MS client code needs to know that type, I added a reference to my MS in the autogenerated asmdef file. This works fine in the editor, but since MS projects are only defined in editor, my custom class doesn't get recognized when the autogenerated client builds for a standalone build, which leads to an error. Any idea what I'm doing wrong? I'd be happy to share some code if that helps clarify my problem. My custom return types are defined as sub-classes of my microservices, so not in Assets/Beamable/Common/ folder. Some of those custom return types contain a field that's a storage object - one of the types I use to store data in a microstorage db. Those storage types need to be defined on the server side, so I'm not sure how I can share them between microservices and client code. I did manage to move my storage types into the Common project, but now this won't build in standalone, because "The type or namespace name 'ObjectId' could not be found (are you missing a using directive or an assembly reference?)". I did add MongoDb.Bson to Common's references, but is it possible this dll is only built for the editor?
ANSWERED

Message.timestampMillis formatting

How do you convert a Message.timestampMillis from long to an easier-to-parse format like DateTime in Beamable Chat?
ANSWERED

Class level static variable

If I have a class level static variable in my microservice, is that static value global to all game clients calling the microservice, or is it unique to each client calling the microservice? For example, let's say I have a static class level variable that incremented every time a microservice method is called. If player A (client 1) calls 1 function, and player B (client 2) calls 2 functions, would the value be different for each player, or would it be a global value?
ANSWERED

Endpoints to pull manifest / checksums

I'm working on a realm data diff tool that has this criteria Use Case: We want a tool that will allow us to compare the data on two realms. Acceptance Criteria: This should compare the manifests to see if their checksums match. If they don't match, we want to iterate the content looking for checksum differences. If a difference is found we need to pull the object from both realms so we can compare it and display the objects side by side for a designer to validate the changes. I'd like to know which Beamable endpoints I should be using for this (which endpoint I should use to pull the manifest/ checksums etc) ?
ANSWERED

Connection Time Out with Server Shard?

Hello, We have currently been playtesting our multiplayer game during development. About 30 minutes ago, we lost connection to the server shard and are unable to test multiplayer gameplay. The error message will appear in the editor console when not playing, but also throws an error on play during the matchmaking process. I will attach the error message received when not playing and just being in the editor below: PlatformRequesterException: HTTP Error. method=[GET] uri=[https://api.beamable.com/basic/content/manifest/checksums] code=[500] payload=[{"status":500,"service":"content","error":"InternalError","message":"Command failed with error 202 (NetworkInterfaceExceededTimeLimit): 'Couldn't get a connection within the time limit' on server beamable-shard-00-02 I am assuming this is a server-side issue, but I am unsure as I have never encountered this error before. Any help or assistance would be appreciated, thank you
ANSWERED

Failing microservice builds

How can I understand why my microservice build fails? Specifically, there are linkage errors (as though referenced assemblies aren't copied), though in the build folder those assemblies are pulled in. For all the types that I load from manually referenced DLLs, I get an error during build, saying that the type is not found. It used to work, and I think that this problem presents any time I push the microservice to the server, but not during local builds.
ANSWERED

Prevent same account log in on different devices

I want to prevent multiple devices from accessing the same account at the same time. Any good solutions?
ANSWERED

Deleting baked content

Hi Beamable! I tried baking beamable content and now I want to reset it (download all content from server). Will simply deleting bakedContent.bytes do the job?
ANSWERED

NullReferenceException when accessing a storage db

Every once in a while, after starting microservices locally, they return a NullReferenecException whenever they try to access a storage db with Storage.GetDatabase<SharedContentStorage>() (which is pretty much all the time in this case). Locally this usually goes away after restarting them a couple times. Deployed microservices keep doing that though. Any idea what could be going wrong? Beamable Version: Latest 1.1.2