ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


Platform build path reference

Reference for build file extensions and path requirements for different platforms.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

When you build a Player from scripts, or using command-line arguments, you must specify the path for the build location. For certain platforms, this path must also include the build file extension specific to the platform.
The following table lists the platforms that require you to include build file extensions:

Platform

Build file extension

Android
  • Android Package:
    .apk
  • Android App Bundle:
    .aab
Note: The file extension isn't required for the following conditions:Instead, specify the folder name for the exported Gradle project or Android App Bundle in the build path.
Windows (Standalone and Server)
.exe


Note: The file extension isn't required when generating a Visual Studio Solution using the Create Visual Studio Solution build setting. Instead, specify the folder name for the generated Visual Studio Solution in the build path.
macOS (Standalone)
.app


Note: The file extension isn't required when generating an Xcode project using the Create Xcode Project build setting. Instead, specify the folder name for the generated Xcode project in the build path.
Linux (Standalone and Server)
.x86_64

Additional resources