找回密码
 立即注册
查看: 377|回复: 0

[RS] Unity Crash记录 - 01

[复制链接]
发表于 2022-2-24 21:55 | 显示全部楼层 |阅读模式
1、场景在Game视图渲染崩溃

1) 环境

    Unity 2020.3.25f1URP 10.3.2 (改动版)NiloToonURP 0.8.7
2) 堆栈

Stacktrace:  at <unknown> <0xffffffff>  at (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext.Submit_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&) [0x00007] in <0ee480759f3d481d82ada245dc74f9fd>:0  at UnityEngine.Rendering.ScriptableRenderContext.Submit_Internal () [0x00001] in <0ee480759f3d481d82ada245dc74f9fd>:0  at UnityEngine.Rendering.ScriptableRenderContext.Submit () [0x00009] in <0ee480759f3d481d82ada245dc74f9fd>:0  at UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.Universal.CameraData,bool) [0x00128] in D:\Mole\RSDev\client\Packages\com.unity.render-pipelines.universal\Runtime\UniversalRenderPipeline.cs:395  at UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderCameraStack (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera) [0x00239] in D:\Mole\RSDev\client\Packages\com.unity.render-pipelines.universal\Runtime\UniversalRenderPipeline.cs:513  at UnityEngine.Rendering.Universal.UniversalRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera[]) [0x00078] in D:\Mole\RSDev\client\Packages\com.unity.render-pipelines.universal\Runtime\UniversalRenderPipeline.cs:241  at UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera[]) [0x0001f] in <0ee480759f3d481d82ada245dc74f9fd>:0  at UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,System.Collections.Generic.List`1<UnityEngine.Camera/RenderRequest>,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle) [0x0004c] in <0ee480759f3d481d82ada245dc74f9fd>:0  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object_intptr_object_AtomicSafetyHandle (object,intptr,intptr,intptr) [0x00036] in <0ee480759f3d481d82ada245dc74f9fd>:0  at <unknown> <0xffffffff>  at (wrapper managed-to-native) UnityEngine.Camera.Render (UnityEngine.Camera) [0x00013] in <0ee480759f3d481d82ada245dc74f9fd>:0  at UnityEditor.CameraEditor.OnOverlayGUI (UnityEngine.Object,UnityEditor.SceneView) [0x0043c] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEditor.SceneViewOverlay.WindowTrampoline (int) [0x000f9] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEngine.GUILayout/LayoutedWindow.DoWindow (int) [0x00079] in <3daff4fe4f0b4833be3dfb2f95e3414a>:0  at UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle) [0x0007f] in <3daff4fe4f0b4833be3dfb2f95e3414a>:0  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object_int_int_object_int_single_single_object (object,intptr,intptr,intptr) [0x00049] in <3daff4fe4f0b4833be3dfb2f95e3414a>:0  at <unknown> <0xffffffff>  at (wrapper managed-to-native) UnityEngine.GUI.Internal_EndWindows () [0x00006] in <3daff4fe4f0b4833be3dfb2f95e3414a>:0  at UnityEngine.GUI.EndWindows () [0x00022] in <3daff4fe4f0b4833be3dfb2f95e3414a>:0  at UnityEditor.EditorWindow.EndWindows () [0x00001] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEditor.SceneViewOverlay.End () [0x0008b] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEditor.SceneView.OnGUI () [0x00563] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect) [0x00066] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEditor.DockArea.DrawView (UnityEngine.Rect,UnityEngine.Rect) [0x00004] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEditor.DockArea.OldOnGUI () [0x0019d] in <7ac35247888b44f4a7e290f1f6bb33f3>:0  at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) [0x001e1] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) [0x000c8] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () [0x0005a] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&) [0x000c3] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIR.UIRenderDevice.EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&) [0x00536] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIR.RenderChain.Render () [0x0011f] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIRRepaintUpdater.Update () [0x0006c] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase) [0x0001f] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.Panel.UpdateForRepaint () [0x0003c] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event) [0x00099] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) [0x00029] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&) [0x0003f] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIEventRegistration.ProcessEvent (int,intptr) [0x0001f] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.UIElements.UIEventRegistration/<>c.<.cctor>b__1_2 (int,intptr) [0x00003] in <fc2718cc4daa4b4594bbc4096172ae90>:0  at UnityEngine.GUIUtility.ProcessEvent (int,intptr,bool&) [0x00018] in <3daff4fe4f0b4833be3dfb2f95e3414a>:0  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr) [0x0002d] in <3daff4fe4f0b4833be3dfb2f95e3414a>:0=================================================================Got a SIGSEGV while executing native code. This usually indicatesa fatal error in the mono runtime or one of the native libraries used by your application.=================================================================Received signal SIGSEGVStack trace:0x00007ff6f1b12ae1 (Unity) PrepareDrawShadowsCommandStep10x00007ff6f1b0a8b4 (Unity) ScriptableRenderContext::ExecuteScriptableRenderLoop0x00007ff6f1f5642f (Unity) ScriptableRenderContext_CUSTOM_Submit_Internal_Injected0x000001db519709a7 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal_Injected (UnityEngine.Rendering.ScriptableRenderContext&)0x000001db519708eb (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:Submit_Internal ()0x000001db51970883 (Mono JIT Code) UnityEngine.Rendering.ScriptableRenderContext:Submit ()0x000001daf20c5373 (Mono JIT Code) [UniversalRenderPipeline.cs:396] UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.Universal.CameraData,bool) 0x000001db5be0a44b (Mono JIT Code) [UniversalRenderPipeline.cs:514] UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderCameraStack (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera) 0x000001da31ff50ab (Mono JIT Code) [UniversalRenderPipeline.cs:242] UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera[]) 0x000001da31ff46e9 (Mono JIT Code) UnityEngine.Rendering.RenderPipeline:InternalRender (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera[])0x000001da31fe5a3b (Mono JIT Code) UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,System.Collections.Generic.List`1<UnityEngine.Camera/RenderRequest>,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)0x000001da31fe5c00 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr_object_AtomicSafetyHandle (object,intptr,intptr,intptr)0x00007ffffd9df1e0 (mono-2.0-bdwgc) [mini-runtime.c:2849] mono_jit_runtime_invoke 0x00007ffffd962ac2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 0x00007ffffd96bb1f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke 0x00007ff6f1e6cd34 (Unity) scripting_method_invoke0x00007ff6f1e68011 (Unity) ScriptingInvocation::Invoke0x00007ff6f1b0cb0f (Unity) ScriptableRenderContext::ExtractAndExecuteRenderPipeline0x00007ff6f1937006 (Unity) Camera::CustomRenderWithPipeline0x00007ff6f194bbd6 (Unity) Camera::StandaloneCustomRender0x00007ff6f194be28 (Unity) Camera::StandaloneRender0x00007ff6f1943336 (Unity) CameraScripting::Render0x00007ff6f1f6f6e4 (Unity) Camera_CUSTOM_Render0x000001db5be09380 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Camera:Render (UnityEngine.Camera)0x000001db5be07a33 (Mono JIT Code) UnityEditor.CameraEditor:OnOverlayGUI (UnityEngine.Object,UnityEditor.SceneView)0x000001db5be05a37 (Mono JIT Code) UnityEditor.SceneViewOverlay:WindowTrampoline (int)0x000001db5be05702 (Mono JIT Code) UnityEngine.GUILayout/LayoutedWindow:DoWindow (int)0x000001db5be0501a (Mono JIT Code) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)0x000001db5be051b3 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_int_int_object_int_single_single_object (object,intptr,intptr,intptr)0x00007ffffd9df1e0 (mono-2.0-bdwgc) [mini-runtime.c:2849] mono_jit_runtime_invoke 0x00007ffffd962ac2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 0x00007ffffd96bb1f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke 0x00007ff6f1e6cd34 (Unity) scripting_method_invoke0x00007ff6f1e68011 (Unity) ScriptingInvocation::Invoke0x00007ff6f1e61e05 (Unity) ScriptingInvocation::Invoke<void>0x00007ff6f1132432 (Unity) Scripting::UnityEngine::GUIProxy::CallWindowDelegate0x00007ff6f1483fb4 (Unity) IMGUI::GUIWindow::OnGUI0x00007ff6f14828e1 (Unity) IMGUI::EndWindows0x00007ff6f1640d0e (Unity) GUI_CUSTOM_Internal_EndWindows0x000001dacf2f2fb1 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GUI:Internal_EndWindows ()0x000001dacf2f2e5b (Mono JIT Code) UnityEngine.GUI:EndWindows ()0x000001dacf2f2dbb (Mono JIT Code) UnityEditor.EditorWindow:EndWindows ()0x000001dacf2f2ccb (Mono JIT Code) UnityEditor.SceneViewOverlay:End ()0x000001da59dff73b (Mono JIT Code) UnityEditor.SceneView:OnGUI ()0x000001da2ec81813 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)0x000001da2ec815c3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect)0x000001da2ec74403 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()0x000001da2ec58250 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)0x000001da2ec5751b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)0x000001da30b0e9d3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint ()0x000001da30b0befb (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)0x000001da30b0a3cb (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&)0x000001da30b05803 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render ()0x000001da2f201f43 (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()0x000001da0b5afc8e (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)0x000001da2f2017ab (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()0x000001da2f201443 (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)0x000001da0b5af567 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)0x000001da0b5af2bb (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)0x000001da0b5af0bf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)0x000001da0b5aeffb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)0x000001da0b5aee5d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)0x000001da0b5aef0e (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)0x00007ffffd9df1e0 (mono-2.0-bdwgc) [mini-runtime.c:2849] mono_jit_runtime_invoke 0x00007ffffd962ac2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 0x00007ffffd96bb1f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke 0x00007ff6f1e6cd34 (Unity) scripting_method_invoke0x00007ff6f1e68011 (Unity) ScriptingInvocation::Invoke0x00007ff6f1e61e05 (Unity) ScriptingInvocation::Invoke<void>0x00007ff6f113529a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent0x00007ff6f2782e96 (Unity) GUIView::ProcessRetainedMode0x00007ff6f2cc2a72 (Unity) GUIView::OnInputEvent0x00007ff6f2782d88 (Unity) GUIView::ProcessInputEvent0x00007ff6f2cbbbf2 (Unity) GUIView::DoPaint0x00007ff6f2cc546d (Unity) GUIView::RepaintAll0x00007ff6f284dd90 (Unity) Application::TickTimer0x00007ff6f2c934d1 (Unity) MainMessageLoop0x00007ff6f2c97521 (Unity) WinMain0x00007ff6f4325752 (Unity) __scrt_common_main_seh0x00007ff847097034 (KERNEL32) BaseThreadInitThunk0x00007ff848ee2651 (ntdll) RtlUserThreadStart3) 原因


场景中Terrain与NiloToon的角色自阴影冲突(勾上选项会Crash)

Nilo Pipeline 选项

<hr>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Unity开发者联盟 ( 粤ICP备20003399号 )

GMT+8, 2024-11-16 23:56 , Processed in 0.091624 second(s), 26 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表