I wanted to export few materials that were created by the kotorblender plugin and some of those use the emission node in place of the Principled BSDF shader. Every time i hit translate material it throws the following errors:
Python: Traceback (most recent call last):
File "C:\Users\luke\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\TransMat.py", line 614, in execute
to_socket = str(f"'{socket_translate[ID][socket]}'")
KeyError: 'ShaderNodeEmission'
location: :-1
and
Python: Traceback (most recent call last):
File "C:\Users\luke\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\TransMat.py", line 485, in execute
nodedata['pln_create'].append( str(f"{nodename}{socket_translate[ID][input.name]} = create_expression({material.name}, unreal.MaterialExpressionConstant, {nodedata['pln_location']}") )
KeyError: 'Emission Strength'
location: :-1 .
here is also the node layout of 2 of the materials if needed

