Can't seem to convert a material into a texture map

Hey guys!

So I’ve basically been trying to find a way to export a material out of blender and use it in unreal engine 4, or even simply bake the material into a texture map, but I cannot seem to get anything to work! All of the support videos I have watched are outdated in some way and do not work anymore. Any tips on how to do this?

Thanks!

is it coming only black?
try just to bake diffuse . with only color ,disable direct and indirect lighting.