I had been working on a scene for hours when mysteriously my computer completely crashes and needs to restart I remember having saved several times when working so I wasn't scared. As I thought I had lost only maybe just 1-5min of work, I re-open Unity and to my surprise, my scene seemed to have reverted to one of my first saves, and because I had re-opened the scene, the Temp/_BackupScenes folder was erased...
So I was wondering, is there any way to recover Unity Scenes that does not imply the _BackupScenes folder? I don't think there is, but just to be sure because I very much remember saving the scene before it crashes...
Thank you in advance,
See: https://docs.unity3d.com/Manual/UnityCollaborateRollback.html
And: https://www.youtube.com/watch?v=hBDflmDFAxI
These should give you all the info you need. I highly advise you to back up an export on a USB drive.
Related
I keep getting this error when switching to my game scene from my death scene, and I can't find a definitive answer online. It showed up after I added my volume controls, and I have no clue how to fix it because that path (Packages/com.unity.collab-proxy/Lib/Editor/PlasticSCM/lz4x64Plastic.dl) is not in the package manager (I'm pretty sure). I can still play when it happens, but the volume resets. I have never seen that file before, and haven't imported any new plugins since then. Any ideas?
I looking into similar threads with this issue and sadly my issue is not being resolved how theirs was. I have a sprite that when it is collected a sound is played. As soon as the game starts any audio I attach is playing. I have deleted the sprite and remade it and the issue is still the same, however for my 7 other sprites there is no issue.
Does anyone know why this may be an issue?
If needed i can supply code however i don't think it is a code based issue
I had the same issue, old post but I didn't see my solution anywhere else. I found that the default script in the audio source game object was playing the clip in the start method. By commenting this out, I was able to stop it from playing when the game was started.
There is a chance that your audio source has a box named "Play On Awake" ticked.
I was looking for the same answer, as my audio sources also played when starting the game. After reading this question, somehow I realized there was a box ticked which I didn't bother looking over.
If your box is not ticked, then try writing in the Start method:
this.yourAudioSource.playOnAwake = false;
On my computer everything looks fine, but on my laptop specific materials are all black. I've made sure i'm on the same version of the project. It is also black in the build.
I am using the customizableGrid from the asset store.
I have had this problem before, and for me it was related to lighting. It's a bit difficult to know if you're in the same position based on just the screenshot, but try - on your laptop - going into Window -> Lighting -> Settings and press "Generate Lighting" again. Could be worth a shot.
I have no idea why this works, but I'll post it anyway. For anyone else having the same issue this might work. Upload it to the collab cloud. Delete from disk, redownload from cloud. I've had the issue three times now, and everytime i redownload it from the cloud the textures are back. It is a weird glitch indeed, but at least I have a workaround.
Unity won't let me select objects on my scene without first selecting the object in the Hierarchy. This was all I could find on the issue.
However, it seems that they decided that closing and opening the scene window fixed the bug, but not so with me. Also note that I am on a blank project. Its been really difficult to work around this bug.
Edit:
I have even uninstalled Unity and reinstalled with the hopes that this would solve the problem, but unfortunately it did not. Thanks for any help ahead of time.
Honestly this is such an odd problem that I'm having difficulty knowing how to try and fix the problem. I also reported the bug as recommended below by NoƫlWidmer, but even the staff who was very kind had no idea how to deal with the problem, and the advice he gave also didn't change a thing. Truly, I don't even know what more information I can give you guys because as I said I literally opened a new Unity project for the first time after reinstalling and was unable to select without first clicking on the hierarchy. Is this just a special freak case that landed with me or has this happened to anyone else?? Also I'm using a two year old Windows 8 Laptop with literally nothing installed on it but the Adobe suite and a few other game developer necessities, so my computer most likely is not the source of the problem.
Edit: a Clue??
Well I was messing around with the scene and hierarchy view in full screen, and I noticed something interesting after clicking on the object in the hierarchy and moving the object in the scene view:
Unfortunately my PrintScreen doesnt show the actual mouse, but as you can see the scene view acts as though I'm clicking on the object, but here at the same time I saw my real mouse off down to the right! Also while I've selected an object on the scene editor and I move my mouse off the scene window things get a bit off and the mouse will pop up on other sides of the window and so on. I don't know if that's normal and its that way for everyone or if it's just me and it might help figure out what's going on.
Man I've really been liking Unity but if this keeps up I think I'll have to drop it and find another software, because I certainly will never be able to design anything worth while if I have to select the object on the hierarchy every time for every single object.
Some bug for me on Mac platform. I resolve just entering and exit from fullscreen mode.
Probably may also work change layout with top-right combo.
I had similar issue while using older versions of unity (in addition inspector window lost the focus repeatedly). In my case rearraging editor windows and saving custom window layout solved it. As far as I remember, I just moved scene view outside Unity window (on the second screen) as well as hierarchy view, and saved resulting position as a new window layout.
Not sure if there is anything else I can tell about it, it's pretty mysterious problem.
I'm overwhelmed with joy right now!! The problem was indeed a bug. I was working on a project and moving objects around (still using the hierarchy to select objects) and then a split second later for absolutely no reason Unity decided to start working the way it should've!!! I guess its just one of those issues where you just have to cross your fingers and hope it'll resolve itself. I'm so glad this dumb issue resolved itself because I was about to tear my hair out and succumb to using another computer for my unity design, or even worse another software. Thank you to everyone who helped!
Last night I finished up on unity and saved my project and scene before closing unity.
This morning when I loaded up unity My Hierarchy, scene and game view are all empty, I don't even have a main camera. This has happened before so I closed off unity (Without Saving or anything) and opened it through the scene file, to my surprise again it does not work, Thinking it must have just not loaded the scene again I tried loading the scene in unity, again no result, now I've spent the last 2 hours browsing the internet trying to find the solution to the problem.
A few common answers I've seen for this problem that do not work for me:
Unity is not opening a new scene, it says at the top it is currently in the scene I want.
Pressing F does not fix anything since there is nothing in the hierarchy in the first place.
Also:
The project is saved in DropBox.
All the assets say they were last updated when I last saved and closed Unity.
Any help is greatly appreciated.
From my experience, Unity and Dropbox don't really get along, as one may lock files the other one wants to read/write, and that means sometimes files not saved properly.
If you want to share projects or just have an online backup, prefer other tools that don't scan the folder all the time, like Git.
open run prompt (windows+R)
%AppData% --> "Roaming" folder will open.
Search for Unity and delete this folder.
Go up one folder up (AppData) and do the same to Local/Unity and LocalLow/Unity