Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

libgdiplus.dylib System.Drawing Error

Discussion in 'Scripting' started by Deleted User, Dec 15, 2019.

  1. Deleted User

    Deleted User

    Guest

    I am getting this error with on my macbook pro running Catalina:

    DllNotFoundException: /Users/bokken/build/output/Unity-Technologies/mono/external/buildscripts/add_to_build_results/monodistribution/lib/libgdiplus.dylib
    System.Drawing.GDIPlus..cctor () (at <04abc238e1e64b378e01047493bf1e72>:0)
    Rethrow as TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception.

    I tried the fixes from this older thread: here

    And, running this in terminal: brew install mono-libgdiplus

    Apparently, this is a long running problem with Unity. Any other suggestions or thoughts would be much appreciated.
     
  2. glreese

    glreese

    Joined:
    Mar 25, 2017
    Posts:
    13
    Did you find a solution? Same problem...
     
  3. Tomofu74

    Tomofu74

    Joined:
    Mar 13, 2020
    Posts:
    1
    HossNj likes this.
  4. hexdecc

    hexdecc

    Joined:
    Oct 24, 2014
    Posts:
    159
    same problem...
     
  5. lam2152901

    lam2152901

    Joined:
    Aug 26, 2022
    Posts:
    1
    Make sure in Build setting that set to target platform to MACOS. My problem was solved