We’ve just updated to 4.5 (source code build) and we’re having a problem with some of our levels (.umap files).
When we go to file->open level, we get the new Content Browser style window, but has quite a few of our maps missing:
There should be a noticeable pattern of levels: Room01_DAY, Room01_SUNSET, Room01_NIGHT etc, which are basically copies of each other, but with different lighting to reflect the different times of day. As you can see, all of our Room05 levels are missing, which we initially thought was because of something specific to that room, but then we noticed that other room ‘variants’ were also missing. We have 48 maps in total, but only 34 of them are showing up in the load level dialog.
When we look in the content browser, things get even stranger.
It shows some of our levels (the ones that show up in the ‘open level’ dialog) in the content browser, but also a bunch of materials and textures. When I hover over one of the materials for example, it does look as though it is getting the information from the missing level .umap files (in the case of the screenshot, “Room05_NIGHT”.)
Here is a screenshot of our maps folder in windows explorer:
This problem only started happening when we upgraded to 4.5. We’ve tried reverting the .umap files to earlier versions of the maps in case they were corrupted but we get the same issues.
One of the weirder aspects of this is that one of the missing levels is our default startup map, and the game runs fine. We can travel to all of the maps with no problems within the game, it seems to be only the editor that struggles with them.
We still have a lot of work to do on these levels but we can’t do anything if we can’t open them in the editor! If we try double clicking one of the ‘Landscape Material Instance’ files which seem to be being read from our Room05.umap file, I get the following Loading message box:
But when the loading completes we just get an asset viewer window with the LandscapeMaterialInstance we tried to open.
I’m going to try and get 4.4 set up again and try to open the levels with that version to see if it is definitely a problem with 4.5. I should mention that our editor source build also includes the XBox One source code.
Has anyone any ideas on why this is happening and if there is something I can try to get around the problem for now? As I say, the maps load fine in the game, it’s just the editor that has problems.