Decoupling Matchmaking Logic with Photon Custom Room Properties
Stop using concatenated strings for matchmaking. Learn how to use PhotonEngine's custom room properties to create flexible, skill-based matchmaking in Unity.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Stop using concatenated strings for matchmaking. Learn how to use PhotonEngine's custom room properties to create flexible, skill-based matchmaking in Unity.
Photon Realtime's interest groups let clients filter room events by relevance instead of receiving every broadcast. Learn how to partition events, avoid common pitfalls, and verify the setup works correctly.
Interest groups reduce Photon bandwidth by delivering messages only to subscribed clients, but a 255-group limit per client and version-specific plugin APIs require careful handling.
When Photon Realtime refuses to connect or drops immediately after ConnectUsingSettings(), a structured diagnostic approach can pinpoint the issue. This guide lists common causes, provides ordered checks, offers fixes tied to findings, and defines escalation criteria for Unity developers.
Use Photon Realtime’s lobby‑visible custom properties to perform skill‑based matchmaking without a separate lobby. Set <code>CustomRoomPropertiesForLobby</code> on room creation and filter with <code>ExpectedCustomRoomProperties</code> in <code>OpJoinRandomRoom</code>.
Use Photon Realtime Interest Groups to filter updates inside a single room. Assign networked entities to group IDs and have clients subscribe only to relevant groups to cut bandwidth and CPU without splitting the room.
A practical look at Photon Fusion's Networked Transform component, covering setup, interpolation tuning, prediction costs, and a quick test scene to verify synchronization.
Server-authoritative Area of Interest in Photon Fusion filters NetworkObject updates by spatial proximity. This architecture note covers minimal design, trust boundaries, and operational checks.
Use custom room properties and JoinRandomRoom filters to match players into the right Photon Realtime room without listing every lobby entry.