The game return an icon size error if you have the Mobile Factory mod installed. This is caused by the fact that the Dimensional Ore Icon size is 256.
Here a simple fix you can add inside the SunBuildIcon() Function:
elseif mods["Mobile_Factory"] then
if iconname == "__Mobile_Factory_Graphics__/graphics/icones/DimensionalFluid.png" then
iconsize = 32
oreicons1 = {{icon = iconname, icon_size=iconsize},{icon = "__SunResources__/graphics/check_fg_x256.png",icon_size=iconsize,scale = 0.75, shift = {0,0},}}
oreicons2 = {{icon = "__SunResources__/graphics/icon_bg_x256.png",icon_size=iconsize,},{icon = iconname,icon_size=iconsize,scale = 0.40, shift = {0,0},}}
oreicons3 = {{icon = "__SunResources__/graphics/icon_bgr_x256.png",icon_size=iconsize,},{icon = iconname,icon_size=iconsize,scale = 0.40, shift = {0,0},}}
else
iconsize = 256
oreicons1 = {{icon = iconname, icon_size=iconsize},{icon = "__SunResources__/graphics/check_fg_x256.png",icon_size=iconsize,scale = 0.75, shift = {0,0},}}
oreicons2 = {{icon = "__SunResources__/graphics/icon_bg_x256.png",icon_size=iconsize,},{icon = iconname,icon_size=iconsize,scale = 0.40, shift = {0,0},}}
oreicons3 = {{icon = "__SunResources__/graphics/icon_bgr_x256.png",icon_size=iconsize,},{icon = iconname,icon_size=iconsize,scale = 0.40, shift = {0,0},}}
end