For me, it crashes when i set the material to plane: (Unity 2021.3.15f1)
Obtained 61 stack frames
0x00007ff6d8736687 (Unity) ShaderPropertySheet::UpdateTextureInfo
0x00007ff6d8733b79 (Unity) ShaderPropertySheet::SetTexture
0x00007ff6d85289d5 (Unity) ShaderScripting::SetGlobalTexture
0x00007ff6d7bd6935 (Unity) Shader_CUSTOM_SetGlobalTextureImpl
0x000001f04aeeeb65 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Shader:SetGlobalTextureImpl (int,UnityEngine.Texture)
0x000001f04ab76013 (Mono JIT Code) UnityEngine.Shader:SetGlobalTexture (int,UnityEngine.Texture)
0x000001f04ab74df3 (Mono JIT Code) [UniversalRenderPipeline.cs:1260] UnityEngine.Rendering.Universal.UniversalRenderPipeline:SetupPerFrameShaderConstants ()
0x000001f04ab73333 (Mono JIT Code) [UniversalRenderPipeline.cs:257] UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>)
0x000001f04ab72c69 (Mono JIT Code) UnityEngine.Rendering.RenderPipeline:InternalRender (UnityEngine.Rendering.ScriptableRenderContext,System.Collections.Generic.List`1<UnityEngine.Camera>)
0x000001eee9dcd723 (Mono JIT Code) UnityEngine.Rendering.RenderPipelineManager:smile:oRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,System.Collections.Generic.List`1<UnityEngine.Camera/RenderRequest>,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
0x000001eee9dcd988 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr_object_AtomicSafetyHandle (object,intptr,intptr,intptr)
0x00007ffd1b3afeb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffd1b2ee764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffd1b2ee8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff6d89e1104 (Unity) scripting_method_invoke
0x00007ff6d89c09a4 (Unity) ScriptingInvocation::Invoke
0x00007ff6d860d96f (Unity) ScriptableRenderContext::ExtractAndExecuteRenderPipeline
0x00007ff6da45e067 (Unity) Camera::ExecuteCustomRenderPipeline
0x00007ff6da4609d3 (Unity) Camera::RenderEditorCamera
0x00007ff6da4622f5 (Unity) Camera::RenderEditorCamera
0x00007ff6d818347f (Unity) Handles_CUSTOM_Internal_DrawCameraWithGrid
0x000001eee9dcd4a8 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Handles:Internal_DrawCameraWithGrid (UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters&,bool,bool)
0x000001eee9daba43 (Mono JIT Code) UnityEditor.Handles:smile:rawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool,bool,bool,UnityEngine.GameObject[])
0x000001eee9dab4c3 (Mono JIT Code) UnityEditor.Handles:smile:rawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters,bool,bool)
0x000001eee9da8753 (Mono JIT Code) UnityEditor.SceneView:smile:oDrawCamera (UnityEngine.Rect,UnityEngine.Rect,bool&)
0x000001eee9d99613 (Mono JIT Code) UnityEditor.SceneView:smile:oOnGUI ()
0x000001eee9d988fb (Mono JIT Code) UnityEditor.SceneView:OnSceneGUI ()
0x000001f04b1da8b7 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001f04b1d9acb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001f04b1d7683 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oIMGUIRepaint ()
0x000001f04b1d2ee4 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)
0x000001f04b1d15c3 (Mono JIT Code) UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&)
0x000001f04b1caf23 (Mono JIT Code) UnityEngine.UIElements.UIR.RenderChain:Render ()
0x000001f04b1ae333 (Mono JIT Code) UnityEngine.UIElements.UIRRepaintUpdater:Update ()
0x000001f04b1919c6 (Mono JIT Code) UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
0x000001f04b1918bb (Mono JIT Code) UnityEngine.UIElements.Panel:UpdateForRepaint ()
0x000001f04b19025b (Mono JIT Code) UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
0x000001f04b18f78f (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001f04b18f4b3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001f04b18f2af (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001f04b18f1eb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001f04b18f04d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001f04b18f106 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffd1b3afeb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffd1b2ee764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffd1b2ee8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff6d89e1104 (Unity) scripting_method_invoke
0x00007ff6d89c09a4 (Unity) ScriptingInvocation::Invoke
0x00007ff6d89bb5b5 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff6d8b057da (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff6d950fbc8 (Unity) GUIView::ProcessRetainedMode
0x00007ff6d9a606eb (Unity) GUIView::OnInputEvent
0x00007ff6d950f9da (Unity) GUIView::ProcessInputEvent
0x00007ff6d9a594fe (Unity) GUIView::smile:oPaint
0x00007ff6d9a6278d (Unity) GUIView::RepaintAll
0x00007ff6d95e21d3 (Unity) Application::TickTimer
0x00007ff6d9a3619a (Unity) MainMessageLoop
0x00007ff6d9a3aa5b (Unity) WinMain
0x00007ff6daddcade (Unity) __scrt_common_main_seh
0x00007ffd761a7614 (KERNEL32) BaseThreadInitThunk
0x00007ffd768c26a1 (ntdll) RtlUserThreadStart