permissions issues

I don’t know whether this is a Unity problem or a problem with my computer, but I’ve already tried a complete clean reinstallation of the OS, so I’m thinking maybe it’s Unity.

I (since around the time I upgraded to 1.6) have been getting a window every time I start up Unity saying that the permissions of the project folder must be set to Read and Write. I click “Set Permissions” and continue merrily on my way. However, I’ve been getting some very erratic and bad behaviour. Files, mostly Prefabs, have been arbitrarily dissapearing. Sometimes with a warning about being unable to write the Temp folder, and sometimes without. Needless to say, this is no good!

I’ve tried everything that I can think of. Repairing permissions, manually setting the permissions, reformatting and reinstalling the OS (as well as Unity), completely restarting the project, et cetera. Nothing has worked.

Has anybody else had this problem? Has anything helped?

I’ve been getting this message as well, but as yet I haven’t seen any negative side effects like you mentioned! I hope that doesn’t happen to me!

Take my advice: Back up constantly!

are you sure is it only in unity that you are having permission problems? have you tried reading saving files in other programs?

I’ve seen it too but with no negative side effects. It seems for me that it only happens when opening older projects. I created a new project and no longer get the warnings.

I have it too. always the same prefabs are disappearing.
so i made a unitypackage to get them back quickly.

That’s weird…it happened to me once, but only once and with just one project, so I didn’t really think anything of it; I figured it was a one-time side-effect from upgrading to 1.6.

–Eric

If this happens on a particular project folder and there is some way to reproduce it. I would really like to take a look. Use Report Bug.app to send it in.

I, too, get those permission messages all the time. Haven’t had any vanishing prefabs though…

I had this happen for a few days… then it went away. Not sure why it started or stopped.

This was around the time I upgraded to 1.6, but afterwards, not at the same time. I has also repaired permissions recently on my drive.

Everytime something in the game gets unuseable it turns into something like this.

25972--944--$losing_prefabs_180.jpg

Thanks for the replies.

Joachim, I’d love to make a bug report but I can’t seem to replicate it. Seems to just…happen.

If it helps, though, every time I lose a prefab, it’s replaced by the gobbledygook that Phoen pointed out.

Also, I’m using a MacBook Pro (2.16 core duo with 2gigs of ram).

I hope that helps.

If it keeps happening with one particular prefab. I would also like to have the project folder, and some info on which prefab it seems to happen to. Then we can do some stress testing here. Some info on how often it happens. use report bug.app for describing the details and sending the project folder.

It seems Unity is unable to write some temporary files.

console says:

Couldnt replace writefile: Library/guidmapperwith temp file: Temp/tempFile 26 (Filename: /Users/joe/Desktop/automatic-unitybuild/unity/Projects/…/Runtime/
Serialize/PersistentManager.cpp Line: 366)

… who is joe? there is no user on my machine named joe.

Is it possible your are low on disk space or out of disk space?

(The error is an internal assert, which references a file on the Unity build machine)

space cant be the problem. i experience the same behaviour when opening the project from an other hd.

I started it with version 1.5.
maybe i should create a new one and import the assets as a unitypackage.
is it possible to get also the project settings (input, tags…) out of the old project?

This has only ever happened to me trying to run off a hard drive that was different than my boot drive, never on my primary disk.

I’ve tried it on an internal and external drive, and it happens on both. Both have plenty of disk space.

I’ve been trying to replicate the problem, but it seems to just happen arbitrarily. I’ll continue trying for a bit, and then just send my project folder.

I got it to happen more consistently on my machine and submitted a bug. It even happened on a newer project. All I did was click on “Build and Run”, then close the project. Every time I opened the project after doing build and run I got the error.

I’ve been having this same problem and it get’s very time consuming to fix everytime. A fix is to go into finder and rename the garbage file to something like myprefab.prefab. This brings back the prefab, but you will have to redo all the links to that prefab because all the links were broken when the filename was changed to the 01992-392923-AD92, etc filename.

Any help would be appreciated.

Thanks,
Sandro