기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Multiplayer Services SDK

All Services

Multiplayer Services SDK

이 페이지는 선택한 언어로 제공되지 않습니다.
Multiplayer
​
​
Multiplayer Services SDK
  • Overview
  • Get started
  • Use multiplayer sessions
  • Manage sessions
  • Connect players through a relay
  • Networking
  • Matchmaking
    • Get started with matchmaking
    • Manage and configure matchmaking
      • Matchmaking rules
      • Matchmaking rule relaxation
      • Matchmaking with Quality of Service
      • Player segmentation
      • Matchmaker backfill
      • Matchmaking rule samples
      • Matchmaker A/B testing
    • Matchmaker troubleshooting
    • Integrations with other UGS services
    • Deploy Matchmaker configurations
  • Monitor and debug sessions
  • Tutorials
  • Reference
  1. Multiplayer Services SDK

Rule relaxations

Relax matching rules over time to speed up match creation when player populations are low.
읽는 시간 2분
최근 업데이트: 15일 전

A relaxation is an alteration of rule behavior. This can be useful for dynamic rule description. Any rule can be relaxed by providing a list of relaxations in the rule.
Relaxation is an important part of rule definition as it can potentially help create matches faster by making some matchmaking rules more lenient overtime, especially when the player population is lower.

Base relaxation contract

Here’s an example of a base relaxation contract:
{ ... Relaxations: [ { "Type": "RelaxationType", "Value": 70, "AtSeconds": 5, "AgeType": "Oldest/Average/Youngest" } ]}

Field

Required

Type

Description

TypeYesstringThe type of relaxation to apply. Refer to Relaxation types below.
ValueYes*The value used by the relaxation rule. Any type is valid. For example, string, bool, list and number.
AtSecondsYesnumberThe number of seconds (inclusive) after which the relaxation is triggered.
AgeTypeYesstringUses the Oldest (default), Average or Youngest ticket times in the match.
Relaxation is triggered based on the age of tickets in a match. Depending how the relaxation is defined, a relaxation will be enabled when:
  • Oldest: The oldest ticket in the match reaches is X seconds old.
  • Youngest: The youngest ticket in the match reaches is X seconds old.
  • Average: The average age of tickets in a match reaches is X seconds old.
참고
Team count and player count are automatically relaxed to their maximum relaxation when backfilling a match.

Relaxation type

Enable

Once the relaxation is triggered, the associated rule is applied. Here’s an example:
{ "Type": "RuleControl.Enable", "AtSeconds": 5, "AgeType": "Youngest" }

Disable

Once the relaxation is triggered, the associated rule stops being applied. Here’s an example:
{ "Type": "RuleControl.Disable", "AtSeconds": 5, "AgeType": "Youngest" }

Replace

Once the relaxation is triggered, the reference value is replaced with another type. Here’s an example:
{ "Type": "ReferenceControl.Replace", "Value": 300, "AtSeconds": 10 }

ReplaceMin

This only applies to the TeamCount or PlayerCount. Once the relaxation is triggered, the minimum value is replaced with the specified value. Here’s an example:
{ "Type": "RangeControl.ReplaceMin", "Value": 70, "AtSeconds": 5, "AgeType": "Youngest" }

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Base relaxation contract

    • Relaxation type

      • Enable

      • Disable

      • Replace

      • ReplaceMin


이 페이지의 문제 보고