ドキュメント

​
​

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 分
最終更新 8ヶ月前

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


このページの問題を報告する