コンテンツへスキップ

Shin Naka’s Dev Log

Notes from building things.

メインメニュー
  • HOME
  • WALK ASIA
  • Dev Log
  • THE NAKADEMY AWARDS

【Beach of the Dead 開発記録 Ep14】UnityをアップデートしたらUnity Package Manager Errorとか【涙目】

Shin Naka(なかしん) 2021年9月11日 1 分読み取り
スクリーンショット 2021-09-11 17.18.08

Table of Contents

Toggle
    • Share this post:
    • はじめに
    • 秋
    • Unity 2020.3.18f1 LTS
    • 2021
    • 2021の逆襲
    • 翌朝
    • 【Beach of the Dead 開発記録 Ep01】俺が主人公の俺ゲーを作るぜ!【インディーゲーム】
    • 【Beach of the Dead 開発記録 Ep02】納得のいく仮モデルが出来た話【Blender】
    • 【Beach of the Dead 開発記録 Ep03】俺の野望【Blender】
    • 【Beach of the Dead 開発記録 Ep04】ビジュアルスクリプティングの話 【Bolt vs PlayMaker】
    • 【Beach of the Dead 開発記録 Ep05】Macでゲーム開発【MacBook Pro】
    • 【Beach of the Dead 開発記録 Ep06】血のテクスチャの描き方【ヨーグルト】
    • 【Beach of the Dead 開発記録 Ep07】動画から音を抜いてUnityで鳴らす方法【iMovie】
    • 【Beach of the Dead 開発記録 Ep08】タイトルは『Beach of the Dead』に決定!【DeepL】
    • 【Beach of the Dead 開発記録 Ep09】iPhoneでモーションキャプチャー【TDPT】
    • 【Beach of the Dead 開発記録 Ep10】Xbox Oneのコントローラー設定【Input Manager】
    • 【Beach of the Dead 開発記録 Ep11】砂のテクスチャの描き方【お塩】
    • 【Beach of the Dead 開発記録 Ep12】そろそろ限界なのか?【Xcode】
    • 【ゲーミングチェア】AKRacing Premium RAVENの組み立て所要時間は【約一時間】
    • 【Beach of the Dead 開発記録 Ep13】スト2っぽく6ボタン化計画
    • 【自己紹介】なんで俺ゲーム作ってるんだっけ?
    • 【Beach of the Dead 開発記録 Ep15】パンガン島のフルムーンパーティみたいな炎の作り方
    • 【Beach of the Dead 開発記録 Ep16】iPhoneで動かす方法【Xcode】
    • 【Beach of the Dead 開発記録 Ep17】炎から炎のテクスチャを作る方法【フライパン】
    • 【Beach of the Dead 開発記録 Ep18】ソロゲーム作りで一番重要な事
    • 【Beach of the Dead 開発記録 Ep19】AR Beach of the Dead🔨👓
    • 【Beach of the Dead 開発記録 Ep20】テストプレイのやり方
    • 【Beach of the Dead 開発記録 Ep21】『ビーチ・オブ・ザ・デッド』ついに配信開始!
    • 【Beach of the Dead 開発記録 Ep22】『ビーチ・オブ・ザ・デッド』反省会
    • 【Beach of the Dead 開発記録 Ep23】Beach of the Dead ver1.0.10 アップデート情報(Android 13対応・APIレベル修正・データセキュリティ)
    • 【Beach of the Dead 開発記録 Ep24】『ビーチ・オブ・ザ・デッド』メニューリニューアル&広告削除!久しぶりに思い出しながらアップデートしてます【WALK ASIAリンク追加】
  • 著者について
    • Shin Naka(なかしん)
    • Share this post:

Share this post:

Share on X (Twitter) Share on Facebook Share on Email Share on SMS

はじめに

デザイナーなので良くわからないエラーが出た時でも自分で対処ができるようにビジュアルスクリプトでゲームを開発してます。

こないだも要らん事をしてUnityが「All compiler errors have to be fixed before you can enter playmode!」とエラーを吐いて何も出来なくなって頭が真っ白になったのです。

涙目になって慌てふためきました。

今まで作ってたのが全く動かなくなるのですから! 

エラーっぽいところを潰してもダメ。

デザイナーだもの、直し方分からないし焦る事しかやる事ない。

もちろん用意周到なので、いらん事をする直前にGitHub Desktopにpush(ネットにバックアップして)あったので胸を撫で下ろしました。

それをダウンロードすれば元通り。

怖いもんなしですわ。

ガハハハハと、自信満々ですが本当に焦った。

ゲーム開発怖い。

秋

近頃秋めいてきまして、そろそろAppleシリコン搭載のMacBook Pro 16インチが出そうな気配がプンプンしてますよね?

早く出てくれないと、今使ってるMacBook Pro 13のディスクがほとんど一杯で何も出来ません。

そういえばUnityのバージョン2020からAppleシリコンに対応してるらしく、爆速で動くとか。

現在はUnity 2019.4.19f1 LTSを使っているので、気が早いですが最新の推奨リリースUnity 2020.3.18f1 LTSにアップデートしようと思います!

Unity 2020.3.18f1 LTS

Unity Hubで2020.3.18f1 LTSを無事インストールして、プロジェクトを開いた所。。。

Unity Package Manager Error: Could not find Unity Package Manager local server application at [C:/Program Files/Unity/Hub/Editor/2020.xxx/Editor/Data/Resources/PackageManager/Server/UnityPackageManager.exe]. Missing files could be the result of an antivirus action or a corrupt Unity installation.

Click on Retry to relaunch Unity and reopen your project.

Click on Diagnose to launch the Unity Package Manager Diagnostics tool.

とか言ってエラー。

Diagnoseってやつを押してみたら、

UPM Health checkというので弾かれてます。

意味がわからないでグーグル先生に聞くと、だいたいUnity 2020を削除してインストールし直せばオッケーみたい。

テキトーな直し方だなと思いました。

しかし自分の環境では何度インストールし直してもダメ。

もうかなり半泣きで、涙で画面が見えません。

2021

もうヤケクソで正式版と称されてるUnity 2021.1.20f1をインストールしてみました。

そしてプロジェクトを開いた所、普通に動きました。

エラーも無く。

WARNINGは出てましたが、自力で潰しました。

なんだろう、Unity2020を入れるつもりが、Unity2021になってしまいましたね。

そりゃLTS(ロングタイムサポート)版に越したことはないですが、正式版だってそこそこ良いと思うのですよ。

だって自分が作っているゲームが、奇跡的にエラーも無くちゃんと動いているのですから。

エラーでUnityが立ち上がらない2020 LTSとエラーもなく動く2021 正式版の二択なら、あなたはどちらを選びますか?

もしこれでダメだったら2019に巻き戻せば良いさ。

2021の逆襲

しかし全てが「めでたしめでたし」と言うワケではなかったのです。

エラーは出ませんでしたが、ゾンビを配置してプレイしてみた所、ゾンビがじぶんを攻撃してくれず通り過ぎて行ったのです。

調べてみた所、よくわかりません(涙目)。

いよいよ2019に巻き戻す時が来ました。

あーあ、今日一日の作業は無駄だったな。

明日やろう。

不貞寝しました。

翌朝

そしたら怪しい箇所がヒラメキました。

長いゲーム開発をしてるとこういうヒラメキが鍛えられてますから。

またあのそうめんの棒みたいなRaycastが悪さしてるんじゃないの?、と。

調べてみたら案の定Raycastです。

Raycastがどんどん身体から離れていって、明後日の方向に移動してるのです。

Raycastといえば思い当たる節があって、Rigidbodyを導入した時にコライダーを使用せずに引き続きCharacter Controllerも使ってたのです。

だって2019だと動いてたんだもの。

Character ControllerはRigidbodyによる物理特性を使用しない簡易的なプレイヤー制御に使うやつです。

なのでCharacter Controllerを破棄して、Rigidbodyとコライダーの組み合わせに変えたら上手く動きました!

何なの、俺冴えてるわ!

いよいよ鍼が効いてる様だ。

つづく

【Beach of the Dead 開発記録 Ep01】俺が主人公の俺ゲーを作るぜ!【インディーゲーム】

【Beach of the Dead 開発記録 Ep01】俺が主人公の俺ゲーを作るぜ!【インディーゲーム】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep02】納得のいく仮モデルが出来た話【Blender】

【Beach of the Dead 開発記録 Ep02】納得のいく仮モデルが出来た話【Blender】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep03】俺の野望【Blender】

【Beach of the Dead 開発記録 Ep03】俺の野望【Blender】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep04】ビジュアルスクリプティングの話 【Bolt vs PlayMaker】

【Beach of the Dead 開発記録 Ep04】ビジュアルスクリプティングの話 【Bolt vs PlayMaker】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep05】Macでゲーム開発【MacBook Pro】

【Beach of the Dead 開発記録 Ep05】Macでゲーム開発【MacBook Pro】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep06】血のテクスチャの描き方【ヨーグルト】

【Beach of the Dead 開発記録 Ep06】血のテクスチャの描き方【ヨーグルト】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep07】動画から音を抜いてUnityで鳴らす方法【iMovie】

【Beach of the Dead 開発記録 Ep07】動画から音を抜いてUnityで鳴らす方法【iMovie】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep08】タイトルは『Beach of the Dead』に決定!【DeepL】

【Beach of the Dead 開発記録 Ep08】タイトルは『Beach of the Dead』に決定!【DeepL】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep09】iPhoneでモーションキャプチャー【TDPT】

【Beach of the Dead 開発記録 Ep09】iPhoneでモーションキャプチャー【TDPT】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep10】Xbox Oneのコントローラー設定【Input Manager】

【Beach of the Dead 開発記録 Ep10】Xbox Oneのコントローラー設定【Input Manager】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep11】砂のテクスチャの描き方【お塩】

【Beach of the Dead 開発記録 Ep11】砂のテクスチャの描き方【お塩】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep12】そろそろ限界なのか?【Xcode】

【Beach of the Dead 開発記録 Ep12】そろそろ限界なのか?【Xcode】

Share this post: Share on X (T…

【ゲーミングチェア】AKRacing Premium RAVENの組み立て所要時間は【約一時間】

【ゲーミングチェア】AKRacing Premium RAVENの組み立て所要時間は【約一時間】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep13】スト2っぽく6ボタン化計画

【Beach of the Dead 開発記録 Ep13】スト2っぽく6ボタン化計画

Share this post: Share on X (T…

【自己紹介】なんで俺ゲーム作ってるんだっけ?

【自己紹介】なんで俺ゲーム作ってるんだっけ?

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep15】パンガン島のフルムーンパーティみたいな炎の作り方

【Beach of the Dead 開発記録 Ep15】パンガン島のフルムーンパーティみたいな炎の作り方

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep16】iPhoneで動かす方法【Xcode】

【Beach of the Dead 開発記録 Ep16】iPhoneで動かす方法【Xcode】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep17】炎から炎のテクスチャを作る方法【フライパン】

【Beach of the Dead 開発記録 Ep17】炎から炎のテクスチャを作る方法【フライパン】

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep18】ソロゲーム作りで一番重要な事

【Beach of the Dead 開発記録 Ep18】ソロゲーム作りで一番重要な事

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep19】AR Beach of the Dead🔨👓

【Beach of the Dead 開発記録 Ep19】AR Beach of the Dead🔨👓

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep20】テストプレイのやり方

【Beach of the Dead 開発記録 Ep20】テストプレイのやり方

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep21】『ビーチ・オブ・ザ・デッド』ついに配信開始!

【Beach of the Dead 開発記録 Ep21】『ビーチ・オブ・ザ・デッド』ついに配信開始!

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep22】『ビーチ・オブ・ザ・デッド』反省会

【Beach of the Dead 開発記録 Ep22】『ビーチ・オブ・ザ・デッド』反省会

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep23】Beach of the Dead ver1.0.10 アップデート情報(Android 13対応・APIレベル修正・データセキュリティ)

【Beach of the Dead 開発記録 Ep23】Beach of the Dead ver1.0.10 アップデート情報(Android 13対応・APIレベル修正・データセキュリティ)

Share this post: Share on X (T…

【Beach of the Dead 開発記録 Ep24】『ビーチ・オブ・ザ・デッド』メニューリニューアル&広告削除!久しぶりに思い出しながらアップデートしてます【WALK ASIAリンク追加】

【Beach of the Dead 開発記録 Ep24】『ビーチ・オブ・ザ・デッド』メニューリニューアル&広告削除!久しぶりに思い出しながらアップデートしてます【WALK ASIAリンク追加】

Share this post: Share on X (T…

作成中のグラフィックは @oknaka のインスタで晒しています。

作成中の動画は @oknaka のYouTubeで晒しています。

作成中のBGMは @tigeronbeat のインスタで晒しています。

フォローよろしくお願いします。

著者について

アバター

Shin Naka(なかしん)

Administrator

東京を拠点に、旅の記録〈Walk Asia〉、制作の記録〈Shin Naka’s Dev Log〉、観た映画の私的アワード〈THE NAKADEMY AWARDS〉を個人のログとして書いています。 完成した作品は TIGER ON BEAT 名義で発表しています。

ウェブサイトにアクセス すべての投稿を表示

Share this post:

Share on X (Twitter) Share on Facebook Share on Email Share on SMS

投稿ナビゲーション

前: 【Beach of the Dead 開発記録 Ep13】スト2っぽく6ボタン化計画
次へ: 【iPhone13】SIMカードの入れ方 入れ替え方法【向きは?】

関連記事

image

【Beach of the Dead 開発記録 Ep24】『ビーチ・オブ・ザ・デッド』メニューリニューアル&広告削除!久しぶりに思い出しながらアップデートしてます【WALK ASIAリンク追加】

Shin Naka(なかしん) 2025年4月26日
image

【Beach of the Dead 開発記録 Ep23】Beach of the Dead ver1.0.10 アップデート情報(Android 13対応・APIレベル修正・データセキュリティ)

Shin Naka(なかしん) 2025年3月29日
image

【Gold 開発記録 Ep04】GitHubにPushできないと思ったら〜、そもそもGitLabでした〜、チクショー!!ゲーム開発の記憶どこいった?

Shin Naka(なかしん) 2025年3月27日

Trending News

【Spark AR】ゾンビ・ボイス・チェンジャーの作り方 dawn 1

【Spark AR】ゾンビ・ボイス・チェンジャーの作り方

2021年2月25日
【Spark AR】Instagramフィルター『Vinyl / レコード』の作り方 5ECD9AE9-246B-4B1F-9B84-209EF3F9A87A 2

【Spark AR】Instagramフィルター『Vinyl / レコード』の作り方

2021年2月1日
【Spark AR】ARエフェクト『Halo / 後光』の作り方 icon 3

【Spark AR】ARエフェクト『Halo / 後光』の作り方

2021年1月21日
【Spark AR】Altern 8のマスクの作り方 icon_altern8 4

【Spark AR】Altern 8のマスクの作り方

2021年1月11日
【Spark AR】『ピヨり』ARエフェクトの作り方 icon_stun 5

【Spark AR】『ピヨり』ARエフェクトの作り方

2021年1月6日

Posts Slider

IMG_3808

【物理SIMからeSIMへ引越し方法】iPhone 17 Pro MaxでiCloudなしでもスムーズに移行する手順まとめ

Shin Naka(なかしん) 2025年10月12日
image

【iPhone15】SIMカードの入れ方 入れ替え方法【向きは?】

Shin Naka(なかしん) 2023年10月12日
image

【iPhone SE】SIMカードの入れ方 入れ替え方法【向きは?】

Shin Naka(なかしん) 2023年5月27日
image-2

コンプライアンス・スクリーニング

Shin Naka(なかしん) 2023年2月24日
image

Apple StoreでSIMフリー版の5G iPhoneを買った時のauでやる事

Shin Naka(なかしん) 2021年9月25日

About Shin Naka

Shin Naka(なかしん)

東京を拠点に、旅の記録〈Walk Asia〉、制作の記録〈Shin Naka’s Dev Log〉、観た映画の私的アワード〈THE NAKADEMY AWARDS〉を個人のログとして書いています。 完成した作品は TIGER ON BEAT 名義で発表しています。

見逃したかもしれません

IMG_3808

【物理SIMからeSIMへ引越し方法】iPhone 17 Pro MaxでiCloudなしでもスムーズに移行する手順まとめ

Shin Naka(なかしん) 2025年10月12日
image

【Beach of the Dead 開発記録 Ep24】『ビーチ・オブ・ザ・デッド』メニューリニューアル&広告削除!久しぶりに思い出しながらアップデートしてます【WALK ASIAリンク追加】

Shin Naka(なかしん) 2025年4月26日
image

WordPressでAddToAnyが表示されない原因とは?SNSシェアボタンが出ない時の対処法

Shin Naka(なかしん) 2025年4月22日
image

【Beach of the Dead 開発記録 Ep23】Beach of the Dead ver1.0.10 アップデート情報(Android 13対応・APIレベル修正・データセキュリティ)

Shin Naka(なかしん) 2025年3月29日
Copyright © All rights reserved. | MoreNews by AF themes。