Exception if material parameter set on LinesMesh

It looks like the same error as this thread using the highlight layer. I can’t repro either thou…