- Home /
Error in Compiling ALL scripts?
Hello, I am getting the following error below all components in the inspector of all game objects in the hiarchy that use scripts, ANY scripts even unity default imported scripts such as "water" or "water 4." I have seen several people have had the same error but i have yet to find an answer that works. I did not rename, change or alter any script names, folder names, or code within my scripts. I believe it is a unity error NOT my doings. I made a quick build just before i saved and quit unity, then rebooted my mac. (retina 15-Inch) SO when i rebooted i opened up unity and got these errors.
When opening unity it always shows this compiling scripts notification.
I Will ADD more screen shots in the comments under this post.
Thanks for the help!
Since I cant seem to add pictures at this time Here are some text from the CONSOLE:
Assets/Editor/Image Effects/Camera$$anonymous$$otionBlurEditor.js(56,55): BCE0018: The name 'Camera$$anonymous$$otionBlur' does not denote a valid type ('not found').
Assets/Editor/Image Effects/BloomEditor.js(85,47): BCE0018: The name 'Bloom' does not denote a valid type ('not found'). Did you mean 'System.Boolean'?
Assets/TerrainToolkit/Editor/TerrainToolkitEditor.cs(1071,82): warning CS0618: UnityEditor.EditorGUILayout.ObjectField(string, UnityEngine.Object, System.Type, params UnityEngine.GUILayoutOption[])' is obsolete:
Check the docs for the usage of the new parameter 'allowSceneObjects'.'
Assets/TerrainToolkit/Editor/TerrainToolkitEditor.cs(1069,82): warning CS0618: UnityEditor.EditorGUILayout.ObjectField(string, UnityEngine.Object, System.Type, params UnityEngine.GUILayoutOption[])' is obsolete:
Check the docs for the usage of the new parameter 'allowSceneObjects'.'
Assets/PlayEditor/Scripts/SceneExamples/DestructionExample.cs(56,27): warning CS0618: UnityEngine.GameObject.active' is obsolete:
GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
Assets/PlayEditor/Scripts/SceneExamples/DestructionExample.cs(54,54): warning CS0618: UnityEngine.GameObject.active' is obsolete:
GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
Ect..
This is a bit messy, excuse my thoroughness please.
Two error codes first "CS0618" and second "BCE0018."
Thank you again!
Answer by Loius · Apr 16, 2013 at 02:59 AM
You're missing two scripts: the CameraMotionBlur and Bloom scripts. You can either reacquire those, or delete the CameraMotionBlurEditor and BloomEditor scripts if you don't need the CMB or Bloom. Those errors are preventing Unity from compiling the rest of the scripts, because it "might need those! waa!" :)
The rest of the messages are warnings and don't have to be fixed, but they do say exactly how to fix them if you want to get rid of them.
THAN$$anonymous$$ YOU! I know this is basic i asked a developer friend of $$anonymous$$e and he said the same thing and actually JUST because i deleted those two scripts ALL the game objects that used them failed to work infact even other scripts like the WATER or WATER 4 and so on...
Your answer
![](https://koobas.hobune.stream/wayback/20220613100410im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
XCode Errors: "_AVCaptureSession" - Unity 3.5 compile problems? 2 Answers
Mouselook Script Parsing Error? 1 Answer
Unity says scripts don't exist...but they do... 3 Answers
Switch platform broke my scripts! 4 Answers
Help! all of a sudden all my scripts for fpv controllers come up with an error??? how do i fix this? 1 Answer