Cache and Custom Room Property Limits
-- The docs state there is a limit on the total number of cached events in a room (global cache plus actor caches). What is the value of that limit? -- Is there a total cache size limit as well? --...
View ArticleHow to remove/replace an event in the global cache?
According to the cached events documentation it is possible to remove events from the global cache, but I have been unable to find an API that accomplishes that. The list of available event caching...
View ArticlePhoton does not connect to servers in HTML5
I have a project in construct2 that works fine when previewing, when exporting to NW.js, but when I upload the HTML archive to itch.io and Scirra Arcade, I don’t have a connection to the server there
View ArticleDisconnecting From Server When in Background iPhone
Hi, I am experiencing an issue with a turn-based game that I built using Photon Server SDK and Javascript SDK(used to connect the Client to Photon Server) on iPhone. Whenever in iPhone my app goes in...
View Articledoes not work on all browsers except mozilla
Console: Uncaught (in promise) TypeError: Cannot read property 'ConnectionProtocol' of undefined at new PhotonInstance (957d42b1-209f-4400-87db-54be8fd65cc3:176) at Function.f.New (jsutil.js:1) at...
View ArticleExample code
Has anyone made any examples beyond the ones provided by photon? I'm having a hard time finding any examples that work with javascript.
View ArticleWhat is the difference between .raiseEvent() of Actor() and...
There seems to be .raiseEvent() function for both Actor() and LoadBalancingClient(). I'm curious as to which I should use in different scenarios?
View ArticlePhoton and Photon Voice for PlayCanvas?
Do you have any plans for bringing official Photon support for PlayCanvas (https://playcanvas.com/) which is a WebGL game engine. And what about Photon Voice? I would love to be able to use Photon...
View ArticleLooking for a simple barebones messaging
Hey guys, I'm still new to the photon engine and was trying to see if I could find a easy chat script that I could mess around with and get a feel for. I've tried searching a bit myself but most of...
View ArticleCan I run Photon Server on other Internet server?
I use Photon in my Construct 2 project and want to host it on the server of my site. How do I do that? Must the server be on Windows base only or Linux will work as well? Thanks
View ArticleRoom properties blank
Just starting out with the Javascript SDK in Playcanvas. I would like to use room properties to communicate damage/pickups for scene objects so that clients joining later get all the same info. If I...
View ArticleHow is joinRandomRoom() supposed to fail?
I am making a browser multiplayer game and using Photon Realtime javascript SDK. The docs state that joinRandomRoom "fails if all rooms are closed or full."...
View ArticleHow do I connect Photon Server with Construct 2?
Where exactly can I get the data to fill the gaps? It didn't work out with my server ip so I'm here to find out what's wrong
View ArticleConstruct 3 photon.c3addon Cannot read property 'ConnectionProtocol' of...
Hi. I'm trying to make multiplayer work, in the test project. Im using Construct 3 and photon.c3addon (https://www.photonengine.com/en-US/sdks#realtime-sdkrealtimeconstruct2). When I export project to...
View ArticleOperation 227 - failed, "isConnected" is false , "isClosing" is false
I have a 1 vs 1 multiplayer browser game where I am utilizing Photon Realtime JS SDK. I have a system where I detect other player from leaving the browser tab (with Page Visibility API). Now, I want to...
View ArticleHow to use best region in Photon Realtime Javascript SDK
According to https://doc.photonengine.com/zh-tw/realtime/current/connection-and-authentication/regions#best_region_selection there is a way to select best region in Photon Realtime (at least for C#)....
View ArticleMatchmaking in JS, send users to Unity
Howdy... I am making a game in unity and wanted to make a game client that loads it up. I have an electron + angular app that I code in JS/TS. It handles authentication, out of game store, etc. It is...
View ArticleConnecting server with playfab
I am trying to realtime cloud server with playfab (JavaScript API). Using appID generated by playfab, I can get Photon Authentication Token, but I have no idea how to setCustomAuthentication. Below...
View ArticleConnecting Unity and JS clients to the same room.
I am trying to make a very simple web client which can connect to a room created in PUN to listen for some events display information in the web client. However I cannot seem to get the web client to...
View ArticlePhoton Realtime + React?
Hello! Apologies if this has been answered before but the docs seem pretty sparse and I searched the forum and haven't found an answer. I'm trying to add Photon to my ReactJS app. Currently I'm doing...
View Article