0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Hololens2+Unity開発でのアプリ表示名だけ日本語を使いたい

Posted at

いきなり結論から

UnityでビルドしたPackage.appxmanifest内の表示名を変える!

環境

  • Unity: v2019.4.18f1
  • MRTK: v2.7.2
  • Visual Studio 2019

現象

Unityの「Player Settings」内の「Product Name」は日本語に変えることができ、簡単にアプリ名を日本語にすることができます。

Image from Gyazo

ただ、それだとアプリのパスに日本語が混じってしまい、エラーがでることがあります。

自分はHololens2のRemote Renderingを利用するとエラーがでました。(その他にもちらほら発生…)

Unity上だと触れない!!

「Publishing Sattings」内のそれっぽい項目の「Package name」は日本語入力すると消えちゃうし、
「Package display name」も「Display name」も変更できないようになってる

Image from Gyazo

対処方法

冒頭で説明した通りPackage.appxmanifest内の表示名を変えること

出来る場所は、Unity内の「Build Settings」からのビルドだと、選択したフォルダ内のアプリ名のフォルダ内に、

MRTKのBuild Windowからのビルドはデフォルトだと、プロジェクトルートからBuilds > WSAPlayer > [アプリ名]のフォルダ内に

VisualStudioで開くと

Image from Gyazo

その他テキストエディタだと

Image from Gyazo

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?