How do I use this for a material?

Begin Object Class=MaterialGraphNode Name=“MaterialGraphNode_200”
Begin Object Class=EdGraphPin Name=“EdGraphPin_3617”
End Object
Begin Object Class=EdGraphPin Name=“EdGraphPin_3616”
End Object
Begin Object Class=EdGraphPin Name=“EdGraphPin_3615”
End Object
Begin Object Class=EdGraphPin Name=“EdGraphPin_3614”
End Object
Begin Object Class=MaterialExpressionLinearInterpolate Name=“MaterialExpressionLinearInterpolate_21”
End Object
Begin Object Name=“EdGraphPin_3617”
PinName=“Output”
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin’“MaterialGraphNode_Root_2.EdGraphPin_3591”’

Tutorial said I can paste this into the material editor for the nodes… I am not sure how to paste it in… Thanks

pls halp me

You should be able to paste in the material editor by using Ctrl + V.

Where did you get that material copy code from?

Try this simple const 0 node which I just copied:

Begin Object Class=MaterialGraphNode Name=“MaterialGraphNode_2”
Begin Object Class=MaterialExpressionConstant Name=“MaterialExpressionConstant_3”
End Object
Begin Object Class=EdGraphPin Name=“EdGraphPin_2620”
End Object
Begin Object Name=“MaterialExpressionConstant_3”
MaterialExpressionEditorX=-463
MaterialExpressionEditorY=477
MaterialExpressionGuid=0E1765054CB0763FD03A4C8FD45B5D36
Material=PreviewMaterial’/Engine/Transient.M_50percent_Test’
End Object
Begin Object Name=“EdGraphPin_2620”
PinName=“Output”
PinFriendlyName=" "
Direction=EGPD_Output
End Object
MaterialExpression=MaterialExpressionConstant’MaterialExpressionConstant_3’
Pins(0)=EdGraphPin’EdGraphPin_2620’
NodePosX=-463
NodePosY=477
NodeGuid=2750A80041698FF8B965C1B2793DF2EA
End Object

The editor crashed after selecting the “home node” and pressing Ctrl + V

Aftering relaunching Ctrl + V and Command + V do nothing

still not able to paste… Ctrl v and Command v do nothing even after rebinding controls… I don’t understand how to paste that in

I wasn’t able to paste those above nodes myself. Strange. Trying this again:

Begin Object Class=MaterialGraphNode Name=“MaterialGraphNode_4”
Begin Object Class=EdGraphPin Name=“EdGraphPin_208755”
End Object
Begin Object Class=MaterialExpressionConstant Name=“MaterialExpressionConstant_8”
End Object
Begin Object Name=“EdGraphPin_208755”
PinName=“Output”
PinFriendlyName=" "
Direction=EGPD_Output
End Object
Begin Object Name=“MaterialExpressionConstant_8”
MaterialExpressionEditorX=64
MaterialExpressionEditorY=720
MaterialExpressionGuid=A9C6862B46C4F8AC3334DAB904495948
Material=PreviewMaterial’/Engine/Transient.M_AssetPlatform’
End Object
MaterialExpression=MaterialExpressionConstant’MaterialExpressionConstant_8’
Pins(0)=EdGraphPin’EdGraphPin_208755’
NodePosX=64
NodePosY=720
NodeGuid=18EEF8594DF048FEA5FE72973A51A476
End Object

yikes, its even crashing now when I try pasting one of these nodes back. I entered a ticket about this. This is nasty.

Hi, we tracked this issue down and the problem is that the text needs the line breaks for the nodes to copy correctly. So when you copy and paste in a way that removes line breaks it will cause the paste in the editor to fail.

To ensure you always copy safely, make sure you don’t see words like “End Object” in the middle of the line, that always goes on a new line. It may be possible to re-format the text by putting all the correct areas on new-lines but that could be tedious. If you wanted to, just copy another node for an example of the typical spacing of this node-code.

This issue has been created for internal tracking as UE-15804. Hopefully this will be fixed in a future version.