Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: adamnorton on March 14, 2014, 04:51:07 PM
-
I have the latest Unity, and what I believe is the latest NGUI. (v3.5.4)
My problem is I need to make a font. However, when I select NGUI/Open/Font Maker... the window opens sometimes, but there is nothing in it...just an empty window. Then sometimes the window does not open at all.
I don't have any errors, this happens even in an empty project with nothing in it but NGUI installed. I've restarted, I've set my layout to default.. everything I can find that people have said to try.
Any ideas?
Thanks
-
That sounds very odd. No errors at all in the console log?
-
Actually, I had my console filters set wrong and didn't notice it. I do have what looks to me like an error regarding NGUI and access to a path in the FreeType.cs script. I have no idea how to fix it though. Maybe you'll know by seeing the message.
Here's the error:
UnauthorizedAccessException: Access to the path "/usr/local/lib" is denied.
System.IO.Directory.CreateDirectoriesInternal (System.String path) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/Directory.cs:131)
System.IO.Directory.CreateDirectory (System.String path) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.IO/Directory.cs:96)
FreeType.get_isPresent () (at Assets/NGUI/Scripts/Editor/FreeType.cs:318)
UIFontMaker.OnGUI () (at Assets/NGUI/Scripts/Editor/UIFontMaker.cs:179)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
-
Maybe you don't have the privileges? Take FreeType.dylib and copy it to /usr/local/lib
If the /usr/local/lib doesn't exist, create it first.
-
Thank you,
That worked. I actually didn't have the /local/lib folder at all. I'm new to Mac as wells NGUI, and didn't realize how to show my hidden folder. Thanks for your help, everything seems to be working fine now.
- Adam