Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by lamdadj · Mar 03, 2013 at 05:58 AM · scenedeleted

Unity Scene hierarchy got deleted on its own

So I had this problem the other day, where my entire scene got wiped off without me pressing the delete button. The scene was supposed to contain a whole game and when I opened the project the next day, it was absolutely empty.

I din't find any answers on this forum but I finally cracked it! I know why it happens. This is just to give others a heads-up on the issue.

  1. When you press the play button and try to open the same project again, you will get an error message.

  2. Now after you close the error message and press play again (to stop), the scene gets wiped off.

All you have to do is, reload the scene again and DONT save while doing so. Whereas if you save the scene (like me) and go to sleep, you will be a bad position.

The possibility of people doing is this extremely rare but this is one of the causes.

Has anyone else experienced this issue? Or can somebody explain why this issue occurs? Maybe how the internal metadata mapping of unity works?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image silentslack · Jan 14, 2014 at 09:53 AM 0
Share

Thanks you for the solution. This was happening to me frequently as I'm working on multiple project (using multiple instances of Unity). I guess the idea is not to run multiple instances of Unity as you may inadvertently delete all your scene data (as I found out numerous times to varying extremes of emotional turmoil).

Thanks again, and would be great if Unity could prevent this from happening.

avatar image marc.nader · Jan 11, 2016 at 03:21 PM 0
Share

This is a damned awfull Unity bug. I just happened to me today > full hierarchy cleared in less than a millisecond. This is BBBBBBAAAAAADDDD. Really bad.

5 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · Mar 03, 2013 at 06:01 AM

I have a machine where this happens all the time, very very sucky. I hope Unity finds a way around it. The problem is very agressive malware/antivirus program which is accessing files 'on write' and probably 'on read' too, so the file is locked by either Unity or that malware checker. I tried to disable the malware thing but it's a service that restarts itself somehow. Anyway, that's what'd up. If you can, put your Unity folder(s) on the 'do not scan' list of your anti-malware program.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image lamdadj · Mar 03, 2013 at 06:28 AM 0
Share

Yes the lock does explain why there is no data. When we run unity, the files get locked. Only unity is allowed to open the lock, so when we try to open the same project again, the previous data gets wiped off??

avatar image jhon-avila · Oct 15, 2014 at 10:42 AM 0
Share

this has to be the most horrible bug ever... i mean WTF i spent the last 5 hours in a tutorial to get everything wiped off... im so angry right now that i want to smash a wall or something.... is there any way to make safe back up ¿?? because i was saving frequently and that did not matter at all it still got wiped off.

I have looked at the file SpaceShooters\Assets\Scenes\$$anonymous$$ain.unity and there is still metadata from my project but when i load the project everything i empty what can i do??

avatar image
0

Answer by N1warhead · Oct 15, 2014 at 11:03 AM

Go to your project folder, move OR delete the Library folder then reopen the project. It will re-create it. (Try moving before deleting just encase that's not it).

It's happened to me a couple times where the entire project doesn't load ANYTHING even though it's there.

Not sure if it's the same issue, because you said the hierarchy. But I hope that helps!

Comment
Add comment · Show 8 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jhon-avila · Oct 15, 2014 at 11:06 AM 1
Share

i took a deep breath now... and followed this went to assest\scene and reaload $$anonymous$$ain.unity and things came back like i had them now it's ok thanks for the quick reply.

avatar image N1warhead · Oct 16, 2014 at 11:45 AM 0
Share

Heh glad all is better with ya.

(You should mark who ever's answer is correct) that way if someone finds this they know which answer was correct. Even I can't tell who's answer is correct lol.

avatar image artfish · Oct 24, 2014 at 02:33 PM 0
Share

Holy crap. Same thing here. Could you explain in detail how you fixed it? thanks!!!!

avatar image SimenZhor · Nov 21, 2015 at 06:37 PM 0
Share

This just happened to me. I wasn't aware of the error, and clicked "save" as I re-opened the scene....... Now my whole scene is wiped clean. A game I've been working on for about a year (well, more like a month effectively). I'm not even sure if I should laugh or cry. I feel as empty inside as the wiped f-ing scene is...

Tried @N1warhead s solution, it didn't work unfortunately. Probably not the same bug. I'll try to update Unity, and then I guess I'll have to start all over.

avatar image meat5000 ♦ SimenZhor · Nov 21, 2015 at 06:39 PM 0
Share

No backups?? Lesson learned? :D

avatar image SimenZhor meat5000 ♦ · Nov 21, 2015 at 06:48 PM 0
Share

Too soon?

Literally just happened.

Show more comments
Show more comments
avatar image
0

Answer by SimenZhor · Nov 21, 2015 at 08:55 PM

@meat5000 Hah! Turns out, I was able to revert to the previous version of the scene-file in Dropbox ^^

Had a backup after all :) Was only set back a few hours instead of days/weeks

Edit : Answer is, keep a backup :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by AugmentedDeveloper · Apr 20, 2018 at 08:29 PM

I still have this issue though. If anyone knows a fix to this, please notify me.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Anunay07 · Jul 23, 2020 at 03:04 AM

@lamdadj

Same happened with me I was going to publish my game and the whole scene got wiped off.please help

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can't use variable after scene reload 0 Answers

HELP! Unity deleted my scene! :( 2 Answers

Will Restoring my computer restore my scene? 0 Answers

Unity wiping scene 3 Answers

How can I "reload" my deleted scenes folder?! 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges