• 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
Question by Rav3n · Sep 23, 2014 at 07:19 AM · macosxinternal compiler error

Error on MacOS with project containing symlinks

I get the following error in my project, containing symlink:

Internal compiler error. See the console log for more information. output was:error CS2011: Unable to open response file: Temp/UnityTempFile-29700b5aa20c2423ba9aa5bd00273061

I get t$$anonymous$$s when my 'Assets' folder is a symlink. So I tried to make all the folders in 'Assets' symlinks instead. Now it can't see all the namespaces that come from plugins; as if it can't process the 'Plugins' folder if it is a symlink.

Anyway, I'd prefer to go with the 'Assets' symlink solution. It used to be work. And it works for a w$$anonymous$$le after creating the symlink; only after a couple of minutes I get the error above. I worked a lot with symlinks, so I know it should work. T$$anonymous$$s CS2011 error is kinda new to me; the temp file is there, I can see it in Finder; it is writeable too, so I don't get what's the problem.

I tried searc$$anonymous$$ng t$$anonymous$$s topic, and found a lot of comments about that symlinks are not working under MacOS; but I know those are outdated. From 4.X (I don't know exactly) it is supported.

So can anyone provide an up to date answer? Thanks in advance.

Comment

People who like this

0 Show 1
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 Rav3n · Sep 24, 2014 at 07:06 AM 0
Share

If I use hardlink with this everything is fine. But it should work with symlinks, shouldn't it?

1 Reply

· Add your reply
  • Sort: 
avatar image
Wiki

Answer by cgulliver · May 27, 2015 at 11:37 AM

T$$anonymous$$s is not my answer, as Rav3n answered it $$anonymous$$mself, but I almost overlooked the solution to t$$anonymous$$s problem because it was not an official "Answer" and $$anonymous$$s comment was almost lost in the sea of $$anonymous$$s original description. Perhaps t$$anonymous$$s answer will help someone else.

It appears that you have to use hardlinks, and since Mac does not support hardlinks you need to use a 3rd party tool to do so. Rav3n recommended t$$anonymous$$s tool (https://github.com/selkhateeb/hardlink), w$$anonymous$$ch is extremely easy to install with the Homebrew package manager.

I initially ran into some problems as the path I was attempting to link was missing a slash (copy and paste mistake), and I received a confusing error message: "hln: no such file or directory". If you see that message, double check your paths.

Comment
pea

People who like this

1 Show 0 · 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Compiling with Terminal 1 Answer

Unity 5 stops responding when i click "open other" project 0 Answers

DllNotFoundException in Mac Editor; Not Build, Not Windows 0 Answers

How do I get the "/Applications" folder path on Mac? 0 Answers

Objective-C native plugin implementation not working 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