「Unity/CloudBuild」の版間の差分
ナビゲーションに移動
検索に移動
| 26行目: | 26行目: | ||
===add a sceneエラーが出るとき=== | ===add a sceneエラーが出るとき=== | ||
以下エラーがでるとき | |||
<pre> | <pre> | ||
There were no scenes configured to build! Please add a scene to the build using the Build Settings window of the Unity Editor. | There were no scenes configured to build! Please add a scene to the build using the Build Settings window of the Unity Editor. | ||
</pre> | </pre> | ||
Unityのメインメニュー/BuildSetting/SceneInBuildにAddOpenSceneを、クリックしてシーンを追加する | Unityのメインメニュー/BuildSetting/SceneInBuildにAddOpenSceneを、クリックしてシーンを追加する | ||
===BuildPlayerContentが見つからないエラーが出るとき=== | |||
以下エラーがでるとき | |||
<pre> | |||
Building Addressables: ERROR: Could not find BuildPlayerContent in Addressable Assets assembly. | |||
</pre> | |||
Config/AddressablesBuildのチェックを外す | |||
==Asset Bundleビルド== | ==Asset Bundleビルド== | ||
2021年7月21日 (水) 07:09時点における版
CloudBuildをOnへ
window/General/Services/CloudBuildをonへ
CloudBuildが使えるプランか確認
UnityTeasmAdvantedが必要なので、以下リンク先から確認
Unity/UnityTeams [ショートカット]
CloudBuild使えることを確認
- https://dashboard.unity3d.com/
- CloudBuild選択
- 連携してるUnityプロジェクト選択
- Configを開き
- "EDIT SOURCE CONTROL"のリンクが有効であることを確認
git連携
- https://dashboard.unity3d.com/
- CloudBuild選択
- 連携してるUnityプロジェクト選択
- Configを開き
- "EDIT SOURCE CONTROL"のリンクをクリック
- リポジトリ選択(githubとか選択してgitのプロジェクトを選択)
- プラットフォーム(WebGLとか)選択
CloudBuild実行
- historyからBuildボタンを押す
add a sceneエラーが出るとき
以下エラーがでるとき
There were no scenes configured to build! Please add a scene to the build using the Build Settings window of the Unity Editor.
Unityのメインメニュー/BuildSetting/SceneInBuildにAddOpenSceneを、クリックしてシーンを追加する
BuildPlayerContentが見つからないエラーが出るとき
以下エラーがでるとき
Building Addressables: ERROR: Could not find BuildPlayerContent in Addressable Assets assembly.
Config/AddressablesBuildのチェックを外す
Asset Bundleビルド
- ConfigのAsset Bundle Optionsを選択
- "Yes, I'd like to build Asset Bundles"にチェックを入れ
- Bundles Base Pathにpathを入れる
Addressable Asset ビルド
- ConfigのAddressable Asset Optionsを選択
- "Yes, I'd like to build Addressable Assetsにチェックを入れる