ArgumentNullException

Avatar

I am get this error in this way:

Load first scene and all shapes draw works well, then I load other scene that no have shapes, and after I back to load the first scene where is shapes draws, then this null is triggered.

Error Unity ArgumentNullException: Value cannot be null.

Error Unity Parameter name: source Error Unity at UnityEngine.Bindings.ThrowHelper.ThrowArgumentNullException (System.Object obj, System.String parameterName) [0x00000] in <00000000000000000000000000000000>:0

Error Unity at UnityEngine.Material.CreateWithMaterial (UnityEngine.Material self, UnityEngine.Material source) [0x00000] in Error Unity at Shapes.ShapeRenderer.g__InstantiateMaterial|135_0 (System.Int32 index, Shapes.ShapeRenderer+<>c__DisplayClass135_0& ) [0x00000] in Error Unity at Shapes.ShapeRenderer.g__PopulateAll|135_1 (Shapes.ShapeRenderer+<>c__DisplayClass135_0& ) [0x00000] in Error Unity at Shapes.ShapeRenderer.MakeSureMaterialInstancesAreGood (UnityEngine.Material[] sourceMats) [0x00000] in  Error Unity at Shapes.ShapeRenderer.UpdateMaterial () [0x00000] in <00000000000000000000000000000000>:0

Reporting a bug? please specify Unity version:
6000.0.47f1
Reporting a bug? please specify Shapes version:
4.5.0
Reporting a bug? please specify Render Pipeline:
URP