NokiMo
monstergirlisland
monstergirlisland

patreon


RIP Town

So I was working on the village and Unity crashed. The project got corrupted and I had to reload all assets.

Everything is working now, everything but the scene that was loaded...the town.


The scene got corrupted and is empty now, all I get is this "iterator == end" error. Google is not being too helpul so if anyone knows a solution please let me know.


I do have a backup but it's like a week old. I'd rather try everything before giving up a week's worth of work.


I swear that stupid town is cursed ;_;

RIP Town

Comments

Oh, that sucks. You should probably contact Patreon's support. I have no way of helping you with this kind of stuff sadly.

umm... hi redamz...for some reason i cant pledge to your work...its says "something wrong with the payment.check your bla bla bla". i did that for couples time and it still not working...i check my acc balance and i have enough money to pledge...i pledge once bfore to a creator using the same acc..it works but somehow i cant pledge to MGI...pls help

you should be using version control anyway :r

sorry to dig up this but just in case Do Not Relaunch Unity Immediatly if you want to retrieve your scene ! The temp file are in "ProjectName_folder/Temp/" The last scene played is in the Temp folder, the file is called "__EditModeScene", you can rename it to "projectname.unity" and can be loaded as a normal scene file. The Temp folder is deleted if you exit Unity normally, so if you experience a crash, you should retrieve the __EditModeScene file and rename or put it somewhere else immediately !

Angelleo

if it helps i might be able to get you the second computer. my office gives away computers every now and then when they upgrade. i normally just put windows 10 on the machine and sell it online but if you need a second machine still when i get them let me know and we can work something out. They a decent drafting machines with xeon 4 core processors and quadro graphics cards, only problem is they normally have small SSD's in them. around 250gb or 500gb. they are meant to mostly remote into servers where the majority of our projects are.

Risu

Also, if you have the dosh, these plus seagate or HGST are real nice. They can also handle SSD's if you need lots of Disk I/O: <a href="http://www.highpoint-tech.com/USA_new/tower-raid-storage-enclosure.htm" rel="nofollow noopener" target="_blank">http://www.highpoint-tech.com/USA_new/tower-raid-storage-enclosure.htm</a>

Get a copy of Shadowprotect desktop and configure it to backup to a network NAS system a few times a day; Shadowprotect will set you back $100. I'd get a spare PC and stick it in the corner or a NAS and mount the storage there, maybe configure it to backup the system 4 times a day via VSS Incrimental. You'd want to test the backup monthly (real easy, just 2x click on the most recent , open it, go), and maybe once a quarter perform a full backup. For the storage, any commercial NAS storage system is fine. If you want to get the data off-system, buy a 2nd NAS box and tell to backup the backups to that then disconnect it. Total solution cost might set you back $500-800 depending how fancy you get.

Assuming you are running Windows, so you have File History turned on? You may be able to recover a more recent version of the file that way.

Psuedonymous

I know you'll hate to read this, but you should be using some sort of revision control system here 100%. If you are new to them, then they may seem daunting at first, but they're absolutely essential. It's not just for backing up your work. It's also useful if you introduce some sort of regression into your project (for example: you introduce a bug and only discover it much later on). Later on (when you feel more confident), you can link changes you've made with some sort of bug tracking system in order to keep track of features you're working on/fixing (instead of trying to keep everything in your head/in a word document). I'd recommend trying out git (you can try it out completely locally!). I'm sure there are some people who have written out basic instructions on how to use it with Unity if you do a bit of googling (you will have to setup a .gitignore file that works nicely with your project/Unity). Also remember: you don't need to use all of the features of a revision control system! Just stick with the very basics if you want! Love the project btw, good luck!

Damn welp I guess this pushes back the day 1 release by another week (two if you need more time) still better to only lose a week instead of the whole game. Thanks for being so careful redamz keep up the good work :D.

As an alternative or an extra, you should consider using a Version control tool like git, it helps you maintain an overview of the progress . It is very standard to use these tools when programming, but an old fashioned backup ain't bad either, nice you were prepared for the worst and had a backup ready. If and when shit happens it's nice to be prepared :)

Sadly the file is completely empty. It only has 1MB worth of space/NULL characters.

You should probably set up automated daily backups, 20 GB is not that difficult to back up. At work our database alone is that size, and we do hourly incremental backups of it, and once a day we do full backups, keeping everything for up to a week. I think for you it should be enough with an automated daily backup, backing up to a decent 2-bay NAS (I personally strongly recommend Synology) with two disks in raid-1. If you use two 4 TB drives you can have 200 days worth of backups at current size. A weekly backup for archiving would probably be good though, stored on a second NAS to avoid them interferring with each other. You should be able to get everything for below $500 (or double that if adding the weekly backup), which is cheap compared to losing, as in this case, a weeks worth of work.

Uzza

hey It could have been a lot worse.. like losign the entire game. It's a good thing you perform backups.

Damn mate, sorry to hear that :( I just had a quick look at unity scene files and their structure. You might wanna try comparing your corrupt file with an empty scene, e.g. in Notepad++ with the Compare plugin. This way you can try applying the differences to the working basic scene. Maybe it works? Basically you leave the default scene structure untouched and copy &amp; paste over the lines that are missing in the empty scene. Or you can try it the other way around, carefully copying the basic scene structure into your broken file. Maybe you have to try both, because at this point we don't know what part of the file is corrupt. Here an example of an mildly populated scene (left), and a completely empty scene (right): <a href="https://postimg.org/image/mng5hc835/" rel="nofollow noopener" target="_blank">https://postimg.org/image/mng5hc835/</a> You can get the Notepad++ plugin from here: <a href="https://sourceforge.net/projects/npp-compare/" rel="nofollow noopener" target="_blank">https://sourceforge.net/projects/npp-compare/</a>

It really is the worst feeling when your precious work goes to waste ...but its also the perfect time to take some deep breaths, fresh air and come back twice as strong. We know you can do it Red :3

Sorry to hear that. We all know how much of a pain the town has been for you. At least you had something backed up so it wasn't a complete loss. I know I would have probably saved everything into one file.

icedkocha

That was the first thing I did, the file only contains like a million empty spaces.

Manually inspect the scene file, it should be readable as XML, what do you see? The file would contain meta data on all scene objects and their place in the scene. All the relationships and properties that makes a scene are there. (Here's hoping there is just a format error from the crash that can be inspected and fixed manually in the xml.)

aciil

Perhaps consider setting up a program that automatically backs up your work every night to your external? That along with the UPS mentioned earlier might help avoid having to deal with this in the future...

Rev

I found this some time ago on Internet: Main things to do. - Do not open or close the editor - Do not move copy or delete files from the drive you have your project on. In other words do not touch the drive. (This could prevent the recovery too fail permanently on the file) The last scene played is in the Temp folder in the project, called "__EditModeScene", which can be renamed to "Whatever.unity" and loaded as a normal scene file. <a href="http://answers.unity3d.com/questions/567913/unity-crash-scene-is-now-missing.html" rel="nofollow noopener" target="_blank">http://answers.unity3d.com/questions/567913/unity-crash-scene-is-now-missing.html</a>

Zirk

That's cool

Just add it as a backstory in-game. The town "burned down" in the past, and was erected once more.

IllusiveChan

After loading the scene can you manually export the assets? Check windows file version history to see if it has kept a copy of an older version (right click -&gt; propertys -&gt; previous version) on windnows 10

Think of it in a positive way. Normally when something like this happens when people remake something for the second time it can go quicker and they also can find a way to improve it while they are working.

Chris

<a href="https://www.youtube.com/watch?v=4zLfCnGVeL4" rel="nofollow noopener" target="_blank">https://www.youtube.com/watch?v=4zLfCnGVeL4</a>

Wow that sucks , i wish i could help you, moral support it is then \ (•◡•) / but srs hang in there dude and take your time ;)

Kaozs

Luckily no sexy stuff was lost, only buildings :p

I haven't used Git or the Unity cloud or anything like that, so correct me if I'm speaking nonsense but my upload speed is trash and there are not better alternatives where I live... Uploading 20GB sounds like a nightmare.

System recovery could screw with the assets themselves which are more valuable than buildings made with said assets, so not really an option. As for recovery software, afaik those are only for deleted files and not for modified (corrupted) ones but correct me if I'm wrong.

Thanks man. I do make backups in an external drive but since the project is nearing 20GB at this point, I don't make them as often as I should.

It's gone but at least it wasn't the beach area. Tons of scripted scenes there, at least building are not as tedious as scenes to rebuild.

Jesus christ that's terrible, thank god for backups

slamer500

Usually this type of thing is not recoverable. I don't have experience with unity in particular, but I've seen plenty of people have their files corrupted in UDK, Photoshop, and various 3D modeling programs and if a file gets corrupted due to a crash while the program was running, there's pretty much a 99% guarantee it's not ever coming back. You're best bet is always to protect yourself against corrupted files with extremely frequent backups (and make sure you put your backups on an external hard drive so if something goes wrong with your computer itself, the backups won't get wiped along with the primary hard drive) and if are worried about power outages and can afford a UPS, those are always a good thing to have when working on projects like this. Power goes out, UPS kicks in, you get 5-10 minutes of backup power to finish what you were doing, save the project, and turn the computer off safely. An ounce of prevention is worth more than a pound of cure (medical proverb, but it applies perfectly here too). Good luck getting everything sorted out and keep up the good work Redamz. We're all rooting for you!

Hope you recover it

#PrayForHentaiTown

its a long shot but.... try system recovery one day before the corruption happened??? EDIT* TRY SOME RECOVERY SOFTWARE?

relith

Well I can wait no matter how long it takes, I'm good at waiting... I'm still waiting for Half-Life 3...

Wow, that's unfortunate.

Villy

I know the feeling all too well. Luckily we backup our project in Git on BitBucket so we can always rebuild it. It's free and now they support Git LFS for large files.

InterLEWD Creations

That's depressing :( Been there. That's why I do back ups every day. Still sucks tho :@ Hang in there dude :D

Munkyboy

I could try some Google fu when I get home tonight, hope you can recover this...

Damn sorry to hear that. I know exactly how sad and annoying and depressive this can be.

Damn sorry to hear that. I know exactly how sad and annoying and depressive this can be. However for future try to use backups. I am not familiar with software you use, however if there is automatic backup option do that, create snapshots every 15-20 mins, and back them up at NAS or some cloud storage for example. I am sure you will recover, move on and create an even better sexy stuff! :)

Damn unlucky man. Take this as a life lesson and starting doing backups daily I'd say.

Kashim

I'm sorry to hear that mate, maybe on a brighter note though the nickname for the town cannow be "the cursed town" for more than one reason

Gamerdude32

I'm such a dumbass too. if only I had saved them as prefabs...

Damn, dude. As a fellow developer (just not in gaming) I can understand that feeling well. Consider it a moment to improve on yourself :) We're all rooting for you!

Jurriën Dokter

Alright, loaded the backup scene and it works. I had made so many cool buildings this week though. brb crying in a corner ;_;

i know how shit it feels to lose progress. no seriously, i used to work with macromedia flash as a kid so i obviously know what i'm talking about.

Waffl3sk4t

I hope it has a curse where everyone becomes slime girl.

doing a quick search it seems like while you had the map file opened, app crashed so it got corrupted, seems like no solution, sorry :(

Is the town being cursed going to become part of the game's lore now? :V Jokes aside that's really frustrating news. It is only a week's worth of work though (hopefully), and while it's mentally exhausting to have to redo work, it could have been much worse. Setbacks are bound to happen on a long project...

Minamoto Terumi

Oh my god, I'm so sorry :( I'm not familiarized with Unity so I can't help, but why aren't you using a SVN? u.u

Well rip

Fsnapa


Related Creators