Linux command
u3d 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List installed versions
u3d list
Install Unity version
u3d install [2022.3.0f1]
Run Unity
u3d run -u [2022.3.0f1]
Available versions
u3d available
Uninstall version
u3d uninstall [2022.3.0f1]
说明
u3d is a command-line tool for managing multiple Unity Editor installations side by side. It can list available versions, install specific releases, and launch Unity with a particular version, making it straightforward to work on projects requiring different Unity versions. The tool is especially useful in CI/CD environments where Unity builds need to run headlessly. It handles license activation, version discovery, and build execution from the command line. Cross-platform support covers macOS, Linux, and Windows.
参数
- list
- List installed Unity versions.
- install _version_
- Download and install a Unity version with packages.
- available
- List download-ready Unity versions.
- run
- Launch Unity (auto-uses project version when inside a project).
- uninstall _version_
- Remove an installed Unity version.
- licenses
- Show current Unity license information.
- prettify
- Format Unity editor log files for readability.
- dependencies
- Install missing Linux dependencies for Unity.
- -u _VERSION_
- Target Unity version.
- --verbose
- Enable debug logging.
- --no-central
- Skip the central version cache.
FAQ
What is the u3d command used for?
u3d is a command-line tool for managing multiple Unity Editor installations side by side. It can list available versions, install specific releases, and launch Unity with a particular version, making it straightforward to work on projects requiring different Unity versions. The tool is especially useful in CI/CD environments where Unity builds need to run headlessly. It handles license activation, version discovery, and build execution from the command line. Cross-platform support covers macOS, Linux, and Windows.
How do I run a basic u3d example?
Run `u3d list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in u3d?
List installed Unity versions.