기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Multiplayer Services SDK

All Services

Multiplayer Services SDK

이 페이지는 선택한 언어로 제공되지 않습니다.
Multiplayer
​
​
Multiplayer Services SDK
  • Overview
  • Get started
  • Use multiplayer sessions
  • Manage sessions
    • Lobby events
    • Rate limits
    • Information management in sessions
      • Session data and player data
      • Update session data
      • Update player data
      • Manage properties as a host
      • Manage properties as a client
    • Synchronize player names in a session
    • Access control
    • Session error messages
  • Connect players through a relay
  • Networking
  • Matchmaking
  • Monitor and debug sessions
  • Tutorials
  • Reference
  1. Multiplayer Services SDK

Session data and player data

Learn how session and player data are structured and used in Unity Multiplayer Services
읽는 시간 3분
최근 업데이트: 3달 전

Sessions support two types of custom data:
  • Session-scoped data is associated with the entire session and can include fields that are indexed for querying.
  • Player-scoped data is associated with a specific player in a specific lobby. Each player in the lobby can have different set properties.

Limits

Session data
  • Maximum properties: 20
  • Non-indexed: 2 KB / each
  • Indexed: 128 B / each
  • Maximum number of indexed strings: 5
  • Maximum number of indexed numbers: 5
Player data
  • Maximum properties: 10/player
  • Maximum size: 2KB
  • Not indexable

Data access and visibility

There are three levels of access to data:

Public data

  • Data that is visible to anyone, including players who are not in the session.
  • Examples of public data include maps and profile icons.

Member data

  • Data that is only visible to players who have joined the session.

Private data

  • Data that is only visible to an individual player who is in the session.
  • Session data that is only visible to the host, player data that is only visible to the owning player and the host.

Data access table

Depending on a player's role in the session (host, member, or non-member), they have different access restrictions to data:

Role of Player

Write session data

Read session data

Write player data for their player

Write player data for other players

Read player data with the following visibility

Session Host
Yes
Yes:
  • Public
  • Member
  • Private
Yes
No
Yes:
  • Public
  • Member
Session Member
No
Yes:
  • Public
  • Member
Yes
No
Yes:
  • Public
  • Member
Non-member
No
Yes:
  • Public
No
No
Yes
  • Public
참고
Only the host can modify session data. In addition, a player’s data can only be modified by the player themselves.

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

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

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

  • 보고 있는 페이지
    • Limits

    • Data access and visibility

      • Public data

      • Member data

      • Private data

      • Data access table


이 페이지의 문제 보고