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
2
Question by PuxOrb · Jul 22, 2013 at 10:50 PM · osx

Symlinks do not appear to work in the Unity 4.2 OSX editor.

We're running into a small issue with respect to the recent Unity 4.2 upgrade. In particular, we're interested in the listed feature "Mac OS X Editor: The Editor on OS X will now allow symlinks in project folders to match Windows behavior. This can be used to share assets across projects, but is not recommended unless you know exactly what you are doing." from http://unity3d.com/unity/whats-new/unity-4.2 .

In particular, we have a set of reusable scripts that we're developing in parallel to a game and trying to inject at key locations (for which our version control submodules would be ideal if we didn't have to drop files into special directories for iOS and Android plugins). Our Unity <= 4.15 solution was a suite of scripts to copy files between the submodules and the necessary project directories, and we were hoping to convert these to softlinks to simplify this process. It appears that linking individual source files (*.cs) causes Unity to not list anything at all and fail to build the project. In addition, linking folders causes it to appear in the project browser but attempting to open it opens a finder window (source files relying on this linked code also fail to build). Have we misinterpreted this feature or is there some configuration options we're missing?

I've tested with the ln -s command, make alias command from within Finder, and most thoroughly with the os.symlink function in Python.

Comment
Add comment · Show 2
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 ThirdMotion · Jul 28, 2013 at 12:12 AM 0
Share

We were very excited to see this feature/fix too; we are not having the problems you describe but we are having different problems (which I have posted about on a different answers thread (which I cannot find (which is ridiculous)). If I have more than one symlinked directory in my project, every file in those symlinked directories gets reimported whenever Unity loses and then regains focus; regardless of how few files get reimported, this process (according the logs) takes about 20 seconds. This is a deal-breaker obviously (happens even if you are just switching back and forth to $$anonymous$$ono). I have spent (now lost) a week setting up a system that creates symlinks; BTW this problem only happens on $$anonymous$$ac. (I tested that the symlink mechanism worked before I spent a week writing the system -- but my testing did not involve multiple symlinked directories)

avatar image whydoidoit · Nov 14, 2013 at 01:05 PM 0
Share

Anyone get this working?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Pi_3.14 · Feb 16, 2014 at 05:56 AM

Here is the discussion page for this issue:

http://forum.unity3d.com/threads/104374-Using-links-%28Sym-amp-Hard%29-to-create-a-common-folder-for-all-Unity-Projects

A lot of people seem to have requested this fix: http://feedback.unity3d.com/suggestions/allow-symlinks-on-windows-and-os

On 4.3.3 there was a partial/hacky implementation, but it was a complete mess.

I've just upgraded to 4.3.4 and it appears to work perfectly!

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 whydoidoit · Feb 16, 2014 at 05:57 AM 0
Share

Now that is good news!!!!

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

19 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 avatar image avatar image avatar image avatar image

Related Questions

Importing loop in Mac OSX 2 Answers

Unity 3.5b6 building for OSX 10.5 0 Answers

Why importing assets for iOS is taking sooooo long ? 3 Answers

Screen.lockCursor on OSX brings up Apple menu 1 Answer

Will Directx11 builds work on computers without a DX11 GPU? 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