Saving Scene \ Saving Project not saving?

Hi guys,

As you can probably se from the timestamp, it is 2:50 in the morning, and I am tearing my hair out. I prototyped a game and was pleasantly surprised at Unity’s rapid prototyping turnaround.

With a job well done (I thought at least) I saved the scene, and then saved the project, turn of the mac, and went to bed. At this stage the game was working, I made a build to test as well, it worked.

Lo and behold, I get back, fire it up, and half my objects and prefabs have dissapeard, and none of my set up particle systems work etc, and the game is borked. Some scripts I made seem to have not been saved at all!

In a little bit of a buzz, I opened some of my tutorials I have done. Same thing! All my prefabs gone, and the actual scripts I worked on… poof. I have not done anything (like moving files around, as I am still a bit scared of the macs filesystem etc (Mac virgin)

I moddelled my models on a pc, copied across to root of unity folder and imported.

Is there any sane reason this would have happened? Also I cant seem to get my prefabs to colide again, and dragging scripts from my project onto my hierarchy prefabs now complains of losing prefab connections, something I swear I did not have last night.

Something fubar or familiar in the above?

Sorry that the first post had to b like this, but I hope it is just something noobish I did, but I cannot think of anything.

First off, welcome to Unity and the forums. :slight_smile:

The only thing that jumps out is that changes made at run-time in the editor (like Inspector value changes while in play mode) don’t all “stick”, but that wouldn’t trash all your prefabs and everything so that’s just odd. Scripts are external so losing those is truly weird as Unity wouldn’t spontaneously delete those.

Sorry I’m not really here with any answers and that you lost some work, but could something else be afoot on that machine? It just sounds a bit too odd… :frowning:

The scripts missing might be the big clue – since those are saved as files, and Unity wouldn’t have deleted them. One thing you might want to do is think of something unique that would have been in one of your missing scripts – maybe a variable name – and search for it on your Mac (use the little magnify glass in the upper right). Perhaps something was just moved?

that is weird behavior. are you sure you’re opening the right project? i mean if i messed with an example i’d probably save it as another project. i might later go back to the original to look at how something was set up. mayhaps (blush but it’s true) i might have saved it with the same project name. unity opens the last open project by default. holding the option key when you launch unity will let you browse for a project to open (lower left). not a hackintosh - yes?

yes dragging scripts on to a prefab in the hierarchy will break the connection. use apply to prefab in the game object menu if you want the change to stick for future instances.

Thanks for all the help and advice guys!

:smile:

I sort of just made peace with the fact I am going to have to redo a lot. I will go through the project tonight and have a look see and try to salvage with all things mentioned in this thread so far.

I cant think what I could have done to bork it at all. I even have a latest build I checked against my opened project and the differences are quite obvious. But then again, I really really hope it was human error and not a imac doorstop error.

Thanks again all, it’s very apreciated.

Hybrid.

Hehe… Good grief. You learn something new everyday! :wink: Cheers for this.

Just a bit OT, but without a really knowledgeable and excellent forum like this, it would have been a real real hard slog to turn somoehting out, but you guys (vox populi!) are amazing at getting good feedback on noob questions.

Cheers pete

Hybrid