XRLineRenderer Set Material

Hi,

I am having trouble setting materials for the unity github XRLineRenderer project. I am not sure if it is a bug or if I am making a mistake.

I am trying to set via c# the material for the component XRLineRenderer.cs.

Ive tried both of these without success:

XRLineComponent.material = lineMaterial;
Debug.Log("Line Material" + lineMaterial);
          
          
// Or this
XRLineComponent.materials[1] = lineMaterial;

No error with either, but also in inspector, nothing changes.

Having the same issue today