Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by owenribbit · Mar 28, 2013 at 06:57 PM · textbuild-errordllmacosxttf

TTF Text, build for Mac, .dll error

I'm using TTF Text (free version) for some 3d text. When I try to build for Mac, I get these errors:

ArgumentException: The Assembly UnityEditor is referenced by ttftext_lite. But the dll is not allowed to be included or could not be found.

Error building Player: Extracting referenced dlls failed.

As far as I know, .dll files are for Windows only. I tried moving and deleting .dll references and I got a new error, which prevents me from running in unity or building:

The type or namespace name `TTFText' could not be found. Are you missing a using directive or an assembly reference?

Anyone run into this problem or have any ideas?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image EpiKnightz · Sep 03, 2013 at 11:55 AM 0
Share

I facing the same problem as your, and in Windows. Have you solved this yet? I'm trying to contact the developers to notify them about this problem but no reply yet.

avatar image tanoshimi · Oct 09, 2013 at 01:53 PM 0
Share

Just come across exactly the same error in Windows. Even after removing all apparent references to ttftext dlls from the project, they're getting reinserted somehow on each build. Grrr...

avatar image Graham-Dunnett ♦♦ · Oct 09, 2013 at 03:05 PM 0
Share

DLL is also the extension used for compiled script code, aka assembly.

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Graham-Dunnett · Oct 09, 2013 at 03:05 PM

Sounds like you have some of the TTF Text scripts outside of the Editor folder, where they need to live. When Unity makes a build it knows that the contents of the Editor folder are for extensions to the Editor, only, and to not include them in the build. If a script uses UnityEditor, then it cannot be used in the build.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by EpiKnightz · Oct 10, 2013 at 02:33 AM

Nah, the dev replied to me saying that this is a known bug and he said that an update will be there "soon". I don't know how does he define "soon" but it's been over a month since his reply and no change at all. And I know that the full version of TTFText (which was updated long long time ago) doesn't have this problem.

If this some kind of trick to force me to buy full version then it's an epic fail.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by eyesore · Dec 05, 2013 at 03:11 PM

I got exactly the same problem on Windows ... the TTFText works ok when running the game inside Unity, but when I do a build I get:

"ArgumentException: The Assembly UnityEditor is referenced by ttftext_lite. But the dll is not allowed to be included or could not be found. Error building Player: Extracting referenced dlls failed."

I fixed it by simply deleting the entire TTFText folder from my Project Assets, and retaining only the generated TTF Text GameObjects in my Hierarchy. I could then build with no problems. If I need to create more TTF Text Game Objects then I'll just need to re-import the TTF package.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image eyesore · Dec 05, 2013 at 04:41 PM 0
Share

I also found a simple alternative to TTFText for generating 3D text. I use the free version of Google Sketchup (Sketchup $$anonymous$$ake) to generate some 3D text, then use this Google Sketchup plugin: OBJexporter to get a .obj for importing the generated 3D text into unity.

avatar image
0

Answer by SwampN3rd · Aug 14, 2014 at 05:42 PM

I am having the same issue. I have a workaround though its not great.

  • I created all the text objects that I wanted.

  • I saved the text mesh for each text object to an asset folder in the project.

  • I removed the TTFText Script from all of the text objects in the scene.

  • I moved the folder containing the entire TTFText plugin up one directory. That way unity does not try to import the scripts or .dll files for TTFText.

  • for each text object in the scene I select the correct mesh for the mesh filter from the saved meshes in the second step.

The down side to this is that you will have to move the plugin folder back if you want to make more 3D text objects.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Ios build issue: 2/11 Layout systems 1 jobs 0 Answers

[SOLVED] Unity 5.3.1 MacOS X Build Crashes 1 Answer

Standalone MacOS build - PlayerIcon.icns problem 1 Answer

Build & Run won't finish 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges