- Home /
You are trying to replace or create a Prefab from the instance 'Destroy_Arch_0 (10)' that references a missing script.This is not allowed
that error appeared suddenly when I was using unity, anyone got any idea what it is??
Answer by shahprateek317 · Nov 03, 2020 at 05:17 AM
Seems like the prefab or GameObject referred to has a Script component attached, but Unity cannot find the actual script file that is mentioned in the Script component.
Can you check the following:
Open the 'Destroy_Arch_0 (10)' GameObject in the Inspector.
Find the Script component attached to the object
Click on the script file name in the Script component to see if Unity can locate it in your Assets. If not, then that missing script file is causing the error.
Answer by MikeTyke · Mar 11, 2021 at 12:35 PM
There was another script that I had not bothered to fix. Once there were no errors in the console, it allowed me to create the Prefab
Answer by TLuthDidimo · Feb 23 at 10:07 AM
It would be really, really helpful if Unity thought to mention which script was missing from which object. ,It would be really, really helpful if Unity thought to mentioned which script was missing from which object.
Your answer
Follow this Question
Related Questions
PLEASE HELP ME! The associated script can not be loaded. 4 Answers
Unexpected token: .. help 1 Answer
Index Out of Range Exception? 1 Answer
Unity AssetBundles error message 0 Answers