Hey,
for a current project I have to scale the byte/color array of an image, therefore I found the easiest way to do that is using System.Drawing (if somebody has a better solution I am open for it :D).
System.Drawing is unfortunately not included in Unity by standard, therefore I set up a csc.rsp with the following line '-r:System.Drawing.dll'.
That does work like a charm in the editor. Unfortunately when I am trying to build I still get:
"error CS0234: The type or namespace name 'Image' does not exist in the namespace 'System.Drawing' (are you missing an assembly reference?)" - errors.
Is there anything additional I need to set up to get this working?
I am using Unity 2019.3.2 building for x64 and using Mono as scripting backend.
↧