For windows, I’m using
to copy over an image that I’m using in the icon slot (using Unity Pro - iOs Pro, Android Pro) and the same deal with the splash image I have. On Mac, however, I’m getting this:
IOException: Failed to Copy File / Directory from x to y (blah, blah, blah)
And thats pretty much what I’m reading from the whole error. So I tried this:
And while I don’t get an error when it runs, it doesn’t execute. Code after the statement executes, however.
It works perfectly fine in Windows (even AssetDatabase.CopyAsset), so how do you copy over one asset from another in Max OS X or Lion (or however Apple names their OS)?
I think this may be a bug. [Here’s my forum post.]