You are trying to replace or create a prefab from the instance 'hoge' that references a missing script. This is not allowed. Please change the script or remove it from the game object.のエラーが出た
Unityのバージョンを上げたらこのようなエラーメッセージが発生してPrefabの更新ができなくなった。
You are trying to replace or create a prefab from the instance 'hoge' that references a missing script. This is not allowed. Please change the script or remove it from the game object.
や
The referenced script on this Behaviour is missing!
こういったエラーもあるそうです。
これはどうやらScriptが参照エラーになったオブジェクトのPrefab更新等がUnityのバージョンアップで、できなくなったっぽいです。
対処方法
http://wiki.unity3d.com/index.php?title=FindMissingScripts
ここのFindMissingScriptsをEditorにぶち込んで
Prefabの全オブジェクトを選択した上で、Window>FindMissingScriptsを選択してやるといいです。
Consoleに参照エラーが起きてるオブジェクトが表示されるので、そいつのコンポーネントを削除してやるといいです。
Author And Source
この問題について(You are trying to replace or create a prefab from the instance 'hoge' that references a missing script. This is not allowed. Please change the script or remove it from the game object.のエラーが出た), 我々は、より多くの情報をここで見つけました https://qiita.com/tan5o/items/804dae8e42858de27a8a著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .