Frequent Shader Error On Build
Unity 2021.3.25f1 Latest Version
Error building Player: Shader error in 'Cesium/CesiumDefaultTilesetShader': Internal error communicating with the shader compiler process. Please report a bug including this shader and the editor log.
Build completed with a result of 'Failed' in 7 seconds (7267 ms)
0x00007ff7a7d0f3bd (Unity) StackWalker::GetCurrentCallstack
0x00007ff7a7d15f79 (Unity) StackWalker::ShowCallstack
0x00007ff7a8cb2323 (Unity) GetStacktrace
0x00007ff7a936315d (Unity) DebugStringToFile
0x00007ff7a6e82352 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001ed8ed7d5f3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001ed8ed7d52b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001ed8ed7d2b0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001edbf4620a5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000001ecbb4fe29b (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x000001ecbb4fa863 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001ecbb4fa373 (Mono JIT Code) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun (bool)
0x000001ecb46dc1f3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x000001ecb46cdda3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x000001ecb46afde3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001ed8ecb7eaa (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x000001ed8ecb7d03 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
0x000001ed8ecab1ab (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001ed8ec95f67 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001ed8ec9530b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001ed8ec90c1b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001ed8ec90aa3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001ed8ec906bb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001ed8ec905b3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001ed8eb291bb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001ed8eb14b58 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001ed8ec8fa7b (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001ed8eb1301e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001ed8eb12bbb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001ed8eb18b7b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001ed8eb173e3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001ed8eb1733b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x000001ed8eb12e43 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001ed8eb126b3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001ed8eb1254b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001ed8ec79b93 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001ed8ec795c3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001ed8ec793bf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001ed8ec792fb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001ed8ec7915d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001ed8ec79216 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffc7facfeb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffc7fa0e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffc7fa0e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7a7c329d4 (Unity) scripting_method_invoke
0x00007ff7a7c121d4 (Unity) ScriptingInvocation::Invoke
0x00007ff7a7c0cdd5 (Unity) ScriptingInvocation::Invoke
- What exactly were you doing when this error occurred?
- Does this also happen with the Cesium for Unity Samples project, or only in your own project?
- Does this happen in earlier versions of Unity as well, or only in 2021.3.25f1?
- What sort of GPU do you have? Are you running the latest drivers?
- I was building for android with combination google ar core extensions
- Didnt try to sample projects
- Didnt try other versions of unity
- Home PC RTX 4090 work pc RTX 3060 both same issue
Ok in order to narrow this down, please check the Samples project and previous versions of Unity. Also please check that you're using the latest version of Cesium for Unity (v1.6.4).