Possible bug with cloning CustomMaterial

Hi! After cloning CustomMaterial through a .clone(), it is not possible to access the standard functions in the clone. Is this a bug, or am I doing it wrong? https://www.babylonjs-playground.com/#UXCB15#109

Pinging @nasimiasl

1 Like

hi i work on it tomorrow sorry for late




i notice when i Clone the CustomMaterial the Uniforms Array not serialized and that is empty
is that way to make them work on serializehelper method?

line 46-47 ( i recreate uniform again )

1 Like