Hey guys, I looked around and coudln't find any topics on the subject, but i'm hoping maybe one of you might know what's going on. Im using the landscape editor in UDK. I build the terrain using heightmap, and everythings golden. I make a material, apply it, and looks great. Save my level, continue working, and then CRASH! I open it back up, but all of the work I put into materials and all of the textures, everything except the terrain itself is gone. This happened 4 times today at different stages of editing, and as you can imagine, I don't want to have it happen a 5th time. Any ideas what is going on? Could it be filepath's or something? Last time, my material would not apply to the terrain, even though it was saying it was. I'm stumped.
Replies
Are you using more than 11 texture samples?
http://udn.epicgames.com/Three/LandscapeMaterials.html#Note%20about%20multiple%20LB_HeightBlend%20layers
"externally referenced" probably means you've got the landscape data in the wrong package. So try moving everything into the same package. I remember with terrains you needed to make sure the height data for the terrain was in the same package as the terrain actor. In that case it was the level package.
All Assets used inside UDK MUST be in the folder c:\UDK\UDK-2011-**\UDKGame\Content. Or you will get the Externally Referenced Error. Also, any Textures, Materials or Models saved outside this folder will sometimes render incorrectly.
Try moving all your UPK files to that folder. UDK Will complain that the File paths have changes, and ask if you want to update them. You will, and it will take you a little while to do so. Some of them you might have to just manually enter them, or just add the assets to the map again.
Also, on the disappearing Materials and Textures. Any time you create a Mat or Texture, you will want to save the package as soon as they are created, or anytime you make a change to them. All you have to do is inside the Content Browser, Right Click on the Package and scroll until you see Save, and that is it. Your file is now saved. Just make sure if a Save Dialog comes up, the Target File is in the Content Folder I talked about earlier.
Hope this helps.
Lee
Especially in materials, make a whole duplicate of your shader in your material and delete the original, and try again, more times then not it will work.
Also, I suggest doing the same for anything you might have, make a copy of it, delete the original and try saving again.
UDK has a weird system where it will create hierarchy's from where you moved or copied it, and it will only break after you make a new copy of it.
/UDKGame/Autosaves/Backup/ should have some upks.