URG not working in Unity6

I tried to use the URG API in Unity6000.0.0f1, but it crashes when running in the editor

Works fine when running in Unity 2022.3.27f1

I’ve attached the custom shader and BRG script I used below

9833331–1414461–BRG.cs (7.05 KB)
9833331–1414464–BRG.shader (2.92 KB)

More details please. Check the editor.log if it contains crash logs.