clone
is not implemented on CustomMaterial
/ PBRCustomMaterial
, see:
There’s a workaround in a PG linked by @nasimiasl in this thread.
Also, there’s is an error in your PG, m.material
can be null
, so you should test for it.
clone
is not implemented on CustomMaterial
/ PBRCustomMaterial
, see:
There’s a workaround in a PG linked by @nasimiasl in this thread.
Also, there’s is an error in your PG, m.material
can be null
, so you should test for it.