こんにちは、私はUnity初心者です。私はUnityでBuildしようとすると下記のエラーが出てしまい、Build ができません。

Error building Player because scripts have compile errors in the editor

考えられる原因としてはスクリプトにコンパイルエラーがあり、それを直せばなんとかなるかもしれません。
ここまで調べてみましたが、何がエラーかの原因のConsoleペインがなんなのかわかりませんが、下記のようなありました。これが原因なのでしょうか? もし、これらが原因の場合直し方を教えてください。また現在これらのエラー個所は、Unityの無料アセットから黄色と赤のエラーが出ているらしく、一度これらの入っているスクリプトのアセットをダウンロードし直して、それでBuildできるかどうか試してみます。

バージョンは2018.3.12です。

黄色のエラー

Assets\Bedroom_V.1.1\Standard Assets\Utility\ForcedReset.cs(6,27): warning CS0618: 'GUITexture' is obsolete: 'This component is part of the legacy UI system and will be removed in a future release.'


Assets\Bedroom_V.1.1\Standard Assets\Utility\SimpleActivatorMenu.cs(10,16): warning CS0618: 'GUIText' is obsolete: 'This component is part of the legacy UI system and will be removed in a future release.'

Assets\Bedroom_V.1.1\Standard Assets\Utility\SimpleActivatorMenu.cs(10,16): warning CS0618: 'GUIText' is obsolete: 'This component is part of the legacy UI system and will be removed in a future release.'

Assets\Bedroom_V.1.1\Standard Assets\Utility\TimedObjectDestructor.cs(24,13): warning CS0618: 'Object.DestroyObject(Object)' is obsolete: 'use Object.Destroy instead.'


Assets\Table and chair\Standard Assets\Effects\ImageEffects\Scripts\BloomAndFlares.cs(112,74): warning CS0618: 'Camera.hdr' is obsolete: 'Property hdr has been deprecated. Use Camera.allowHDR instead (UnityUpgradable) -> UnityEngine.Camera.allowHDR'

Assets\Table and chair\Standard Assets\Effects\ImageEffects\Scripts\Bloom.cs(109,74): warning CS0618: 'Camera.hdr' is obsolete: 'Property hdr has been deprecated. Use Camera.allowHDR instead (UnityUpgradable) -> UnityEngine.Camera.allowHDR'

ssets\Bedroom_V.1.1\Standard Assets\Utility\PlatformSpecificContent.cs(37,13): warning CS0618: 'EditorUserBuildSettings.activeBuildTargetChanged' is obsolete: 'UnityEditor.activeBuildTargetChanged has been deprecated.Use UnityEditor.Build.IActiveBuildTargetChanged instead.'

Assets\Bedroom_V.1.1\Standard Assets\Utility\PlatformSpecificContent.cs(44,13): warning CS0618: 'EditorUserBuildSettings.activeBuildTargetChanged' is obsolete: 'UnityEditor.activeBuildTargetChanged has been deprecated.Use UnityEditor.Build.IActiveBuildTargetChanged instead.'

Assets\Table and chair\Standard Assets\Effects\CinematicEffects(BETA)\Common\ImageEffectHelper.cs(24,58): warning CS0618: 'SystemInfo.supportsRenderTextures' is obsolete: 'supportsRenderTextures always returns true, no need to call it'

Assets\Bedroom_V.1.1\Standard Assets\Utility\ActivateTrigger.cs(57,33): warning CS0618: 'Object.DestroyObject(Object)' is obsolete: 'use Object.Destroy instead.'

Assets\Table and chair\Standard Assets\Effects\ImageEffects\Scripts\SunShafts.cs(93,29): warning CS0618: 'Camera.hdr' is obsolete: 'Property hdr has been deprecated. Use Camera.allowHDR instead (UnityUpgradable) -> UnityEngine.Camera.allowHDR'

Assets\Table and chair\Standard Assets\Effects\CinematicEffects(BETA)\ScreenSpaceReflection\ScreenSpaceReflection.cs(311,54): warning CS0618: 'Camera.hdr' is obsolete: 'Property hdr has been deprecated. Use Camera.allowHDR instead (UnityUpgradable) -> UnityEngine.Camera.allowHDR'

Assets\Bedroom_V.1.1\Standard Assets\CrossPlatformInput\Scripts\MobileControlRig.cs(48,13): warning CS0618: 'EditorUserBuildSettings.activeBuildTargetChanged' is obsolete: 'UnityEditor.activeBuildTargetChanged has been deprecated.Use UnityEditor.Build.IActiveBuildTargetChanged instead.'

Assets\Bedroom_V.1.1\Standard Assets\CrossPlatformInput\Scripts\MobileControlRig.cs(55,13): warning CS0618: 'EditorUserBuildSettings.activeBuildTargetChanged' is obsolete: 'UnityEditor.activeBuildTargetChanged has been deprecated.Use UnityEditor.Build.IActiveBuildTargetChanged instead.'

Assets\Bedroom_V.1.1\Standard Assets\CrossPlatformInput\Scripts\MobileControlRig.cs(55,13): warning CS0618: 'EditorUserBuildSettings.activeBuildTargetChanged' is obsolete: 'UnityEditor.activeBuildTargetChanged has been deprecated.Use UnityEditor.Build.IActiveBuildTargetChanged instead.'

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(29,44): warning CS0649: Field 'FirstPersonController.m_LandSound' is never assigned to, and will always have its default value null

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(15,40): warning CS0649: Field 'FirstPersonController.m_RunSpeed' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Utility\SmoothFollow.cs(21,17): warning CS0649: Field 'SmoothFollow.heightDamping' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(14,40): warning CS0649: Field 'FirstPersonController.m_WalkSpeed' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(16,56): warning CS0649: Field 'FirstPersonController.m_RunstepLenghten' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(18,40): warning CS0649: Field 'FirstPersonController.m_StickToGroundForce' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Utility\SmoothFollow.cs(10,21): warning CS0649: Field 'SmoothFollow.target' is never assigned to, and will always have its default value null

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(17,40): warning CS0649: Field 'FirstPersonController.m_JumpSpeed' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(20,44): warning CS0649: Field 'FirstPersonController.m_MouseLook' is never assigned to, and will always have its default value null

Assets\Bedroom_V.1.1\Standard Assets\Utility\PlatformSpecificContent.cs(24,39): warning CS0649: Field 'PlatformSpecificContent.m_ChildrenOfThisObject' is never assigned to, and will always have its default value false

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(19,40): warning CS0649: Field 'FirstPersonController.m_GravityMultiplier' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(28,44): warning CS0649: Field 'FirstPersonController.m_JumpSound' is never assigned to, and will always have its default value null

Assets\Bedroom_V.1.1\Standard Assets\Effects\AmbientOcclusion\AmbientOcclusion.cs(160,31): warning CS0649: Field 'AmbientOcclusion._quadMesh' is never assigned to, and will always have its default value null

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(23,39): warning CS0649: Field 'FirstPersonController.m_UseHeadBob' is never assigned to, and will always have its default value false

Assets\Bedroom_V.1.1\Standard Assets\Utility\PlatformSpecificContent.cs(21,51): warning CS0649: Field 'PlatformSpecificContent.m_BuildTargetGroup' is never assigned to, and will always have its default value 

Assets\Bedroom_V.1.1\Standard Assets\Utility\SmoothFollow.cs(19,17): warning CS0649: Field 'SmoothFollow.rotationDamping' is never assigned to, and will always have its default value 0


Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(26,40): warning CS0649: Field 'FirstPersonController.m_StepInterval' is never assigned to, and will always have its default value 0

Assets\Bedroom_V.1.1\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs(27,46): warning CS0649: Field 'FirstPersonController.m_FootstepSounds' is never assigned to, and will always have its default value null

Assets\Bedroom_V.1.1\Standard Assets\Utility\WaypointProgressTracker.cs(14,50): warning CS0649: Field 'WaypointProgressTracker.circuit' is never assigned to, and will always have its default value null

赤のエラー

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(14,18): error CS0101: The namespace 'MK.Glass' already contains a definition for 'MKGlassFreeEditor'

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(79,21): error CS0111: Type 'MKGlassFreeEditor' already defines a member called 'FindProperties' with the same parameter types

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(111,22): error CS0111: Type 'MKGlassFreeEditor' already defines a member called 'ColorProperty' with the same parameter types

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(122,22): error CS0111: Type 'MKGlassFreeEditor' already defines a member called 'SetGIFlags' with the same parameter types

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(144,22): error CS0111: Type 'MKGlassFreeEditor' already defines a member called 'ToggleBold' with the same parameter types

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(152,30): error CS0111: Type 'MKGlassFreeEditor' already defines a member called 'AssignNewShaderToMaterial' with the same parameter types

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(167,22): error CS0111: Type 'MKGlassFreeEditor' already defines a member called 'HandleBehavior' with the same parameter types

Assets\MKGlassFree\Editor\MKGlassFreeEditor.cs(217,30): error CS0111: Type 'MKGlassFreeEditor' already defines a member called 'OnGUI' with the same parameter types