13. 従来の Unity Editor ライセンスの細則
§ Unity Editor を 2 台のコンピュータにインストールできる
§ 利⽤できるのは 1 ⼈のユーザーだけ
§ 同時に利⽤できるのは 1 台だけ
1.6 Copies of Unity Software.
Unless you have purchased a floating Unity Enterprise Plan or a Unity Build Server subscription, you (and your
Designated Users) may install the Unity Editor on both a primary and a secondary computer or operating
system, solely for your convenience, but only for use by a single person. You may make a single copy of the
Unity Editor solely for backup or archival purposes. For the sake of clarity, you (or your Designated User) may
only use one installation at any given time. Unity may in its sole discretion authorize you to install the Unity
Editor on additional computers or operating systems upon deactivation of the Unity Editor installed on existing
computers. (以下略)
Unity Software Additional Terms (December 9, 2020)
17. Unity Build Server のシステム構成
§ フローティングライセンスサーバを Linux または Windows で構築する
- Unity.Licensing.Server という .NET Core アプリケーションを動かす
- HTTP の REST API サーバとして動作しクライアント (Unity Editor) からの接続を受け付ける
- 認証機能がないので LAN からの利⽤に限定するか、認証機能を外付けする必要がある
18. ライセンスサーバの概要
§ システム要件
- Windows → Windows 10, Windows Server 2012, Windows Server 2016 (64-bit versions)
- Linux → Ubuntu 16.04+, Red Hat Enterprise Linux 7.x, CentOS 7.x (64-bit versions)
§ 最低スペック
- 最低スペックに関する指定はない
- Standard_B1s (vCPU 1 core, RAM 1GB) の Azure Linux VM (Ubuntu 18.04 LTS) で問題なく動作
§ ライセンスサーバの識別
- ホスト名・Ethernet MACアドレス・CPUコア数を⾒ている
- これらが変更されると動かなくなる可能性がある (クラウド VM やコンテナでは注意が必要)
19. ライセンスサーバのセットアップ
§ クイックスタートガイド通りに作業する
1. Unity 組織管理サイトより Unity.Licensing.Server ZIP ファイルをダウンロード
2. ライセンスサーバに Unity.Licensing.Server ZIP ファイルを展開
3. Unity.Licensing.Server setup: セットアップ
- server-registration-request.xml → Unity 組織管理サイトにアップロード
- services-config.json → クライアント (Unity Editor) ⽤の設定サンプル
4. Unity 組織管理サイトでサーバを登録、ライセンスを割り当て
- ライセンスの ZIP ファイルがダウンロードできるようになる
5. Unity.Licensing.Server import: ライセンス ZIP ファイルを読み込み
6. Unity.Licensing.Server create-service: サービス作成・開始
- Windows ではサービスが作られ、 Linux では systemd サービスユニットが作られる