기술 자료

Development

User Acquisition

Monetization

산업 분야

Vivox Unreal SDK

Vivox Unreal SDK

이 페이지는 선택한 언어로 제공되지 않습니다.
Vivox
​
​
Vivox Unreal SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Unity Authentication Service in Unreal
    • Create voice and text channels
    • Messaging
    • Audio management
    • Muting
    • In-game moderation
    • Android app development
    • iOS app development
    • Server-side recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Real-time recording
    • Transmission
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unreal SDK documentation

Unity Authentication Service in Unreal

Understand how to use Unity Authentication Service with Vivox in Unreal.
읽는 시간 2분
최근 업데이트: 7달 전

You can use the Unity Authentication Service (UAS) in your Unreal Vivox application.

Requirements

  • Unreal Engine version 5.1.1 or later
  • A Unity account
  • The Unity Gaming Services SDK for Unreal Engine

Integration steps

  1. Ensure you have a compatible version of the Unreal Engine for the Unity Gaming Services for Unreal Plugin. Refer to the SDK page in the Unreal Marketplace for more information.
  2. Go to the Unity Gaming Services SDK for Unreal Engine Unreal Engine Marketplace page in your Epic Games Launcher, or select Open in Launcher from the linked Marketplace page.
  3. Load the plug-in into your project on the Epic Games Launcher Marketplace page.
  4. Go into your Project Settings and locate the Unity Authentication plug-in settings.
  5. Place the Project ID from your Project page on the Unity Dashboard into the Project ID field. The setting will likely autoformat. Place the target environment name in the Environment Name field.
참고
Find your Project ID and Environment on the Unity Dashboard, by selecting the Projects tab and then the project you’re working on.

Authenticate with the Unity Authentication Service

Use the following instructions to set up the Unity Authentication Subsystem to sign-in to Vivox:
  1. Add Authentication to the PublicDependencyModuleName in your project’s build.cs file
    • Once you install the plug-in and assign settings in your project, you can set up and une the
      AuthenticationSubsystem
      in C++.
  2. Get the UGameInstance from the GameWorld and assign the AuthenticationSubsystem to a variable from the GameInstance.
    UWorld* GameWorld = GetWorld();UGameInstance* GameInstance = GameWorld->GetGameInstance();UAuthenticationSubsystem* AuthenticationSubsystem = GameInstance->GetSubsystem<UAuthenticationSubsystem>();
  3. Set up an
    AuthenticationResponse
    UFunction, named
    OnAuthentication
    in the following example, to track when the Authentication has finished successfully. Then, pass it into SignInAnonymously, along with any
    FAuthenticationSignInOptions
    you need.
    Unity::Services::Core::THandler<FAuthenticationResponse> authenticationResponse;FName OnAuthenticationFName("OnAuthentication");authenticationResponse.BindUFunction(this, OnAuthenticationFName);FAuthenticationSignInOptions signInOptions;AuthenticationSubsystem->SignInAnonymously(signInOptions, authenticationResponse);
  4. After Authentication has successfully authenticated to the UGS Service, replace the LoginToken in any
    LoginSession.BeginLogin
    call with the AuthenticationSubsystem->GetAccessToken(). Below is an example:
    LoginSession.BeginLogin(WebService, AuthenticationSubsystem->GetAccessToken(), SubscriptionMode::Accept, TSet<AccountId>(), TSet<AccountId>(), TSet<AccountId>(), OnBeginLoginCompleteCallback);
    참고
    When using Unity Authentication Access Tokens, the local AccountID’s Account Name should be the same as the Authentication PlayerID, as shown here:
    //This is being done in OnAuthentication, using the returned FAuthenticationResponse as responseAccountId m_Account = AccountId(m_tokenIssuer, response.UserId, m_domain)
You can also use Authentication Tokens in place of
ChannelSession
connect tokens, as shown in the following example:
ChannelSession.BeginConnect(true, false, true, AuthenticationSubsystem->GetAccessToken(), OnBeginConnectCompleteCallback);

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

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

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

  • 보고 있는 페이지
    • Requirements

    • Integration steps

    • Authenticate with the Unity Authentication Service


이 페이지의 문제 보고
​
​