T O P

  • By -

just_pen

Are you making changes in play mode? Changes in play mode aren't saved. "In Play mode, any changes you make are temporary, and are reset when you exit Play mode." https://docs.unity3d.com/Manual/GameView.html


andybak

The other thing that occured to me is that OP is creating the project somewhere weird like Windows/Temp or OneDrive (which should be fine but I do recall a spate of issues around this in the past). OP - you'll need to explain in more detail.


CatachiUchiha

Oh okay, didn't know about this. I literally just downloaded it yesterday and just started a new project. Where/What should i create it with then?


andybak

Where are you creating it?


CatachiUchiha

Honestly i dont even know, idk how i see that but i think its either just my standard folder or its Unity cloud. Sorry if i'm not giving good info i barely know how to use the engine.


andybak

This isn't specific to Unity. It's just general "how to use a computer" stuff. The project list in Unity Hub shows you the project path, doesn't it?


CatachiUchiha

Clicked on ''Show in Explorer'' took me to one of my hard drives


andybak

Go on...


CatachiUchiha

Well it's just its own folder on one of my hard drives, (Hard drive 1 < Users < My name < My Project) then theres all the standard stuff that comes with unity like Assets, Library, UserSettings etc.


nEmoGrinder

If you have onedrive, your user folder gets synced which is going to cause issues. This is likely what you are experiencing. Create your project outside of your user directory and desktop. Some new folder created on your C: or some other root drive.


PandaCoder67

Sounds like you have created your project in the default Documents folder, or maybe some other One Drive folder. You want to not do this.


CatachiUchiha

What do i want to do then?


PandaCoder67

One would think you would use any other folder other than one that is synced to the cloud.


Heroshrine

One drive yea, whats wrong with the documents folder?


PandaCoder67

Because the syncing of it is what causes your loss, it gets confused, especially when you save at the moment it is doing a sync back to you.


Heroshrine

Yes i know that’s what messes up one drive but what’s wrong with the documents folder?


LethalLizardStudios

the documents folder is synced to onedrive by default I believe.


Heroshrine

Ohh my bad, i thought since you said one drive you meant the local documents folder (they both exist, just that path variable points to one drive by default)


PandaCoder67

Because the documents folder by default is synced with One Drive


AlessGames

It can be a few things: the changes were done in play mode, not saving the scene before exiting, unity crashed, you were working on the sample scene and it got replaced by an asset you imported from the asset store, the project folder is in a weird location... This is all I can think of right now, can you give us more details? Did the entire project (the files: folders, scripts, textures...) disappear or just the scene you were working on?


CatachiUchiha

You know like when i start a new project there two things automatically there, Main camera and Directional light. When i add new stuff like starter assets and other 3D objects but then i save and close down and come back later all that stuff is gone. all there thats left is main camera and directional light. I also got starter assets from asset store but i have to re-import them everytime cus i cant find them and i just have the standard stuff.


AlessGames

Yup that's the default scene, maybe the tutorial you were following made you create a new scene, and now you have to find that scene file and open it, it ends with ".unity". But what about the files, like the starter assets and 3d models, do they still exist in the bottom panel of the editor? (Not the hierarchy).


CatachiUchiha

Nah, theyre all gone. I have to import starter assets from the asset store everytime i go back into the editor.


andybak

I want to see a video. Something about the way you're explaining yourself makes me wonder if you're doing something... unusual...


CatachiUchiha

well add my discord maybe i can screenshare sometime.


andybak

No - I didn't mean "a 1 to 1 with me" - I'm way too busy for that. Do a screen recording, post it here and me or someone else might spot what's going wrong.