Why can't I save a level?

When I try and save a level on mac version I get a dialog like so:

Failed to save map /Volumes/Data Raid/Users/gwoodruf/Documents/Unreal Projects/MyProject3/Content/StartLevel.umap

File is not in any of following content folders:

/Users/Shared/UnrealEngine/4.0/Engine/Content/

/Users/gwoodruf/Documents/Unreal Projects/MyProject3/Content/

I have my user account on a Raid Array.
directory “/Users/gwoodruf/Documents/Unreal Projects/MyProject3/Content/” does exist.

It’s a symbolic link though:
Users → /Volumes/Data Raid/Users

I didn’t do this os x set it up.

I see your problem. UE4 is looking for file in shared users directory (Users/Shared/UnrealEngine/…) whereas your map is saved in your personal directory (Users/gwoodruf/Documents/…)

.umap file has to be within same folder as project itself. Most likely, you saved your map in wrong location by accident.

Hope that helps!

That is not problem. I am saving it in /Content/ folder of project. Some thing is going on where it’s using “absolute” path and comparing it to “one with symbolic link.” or something of like I suspect it’s a bug in unreal engine code.

1 Like

Hi

Does this occur on all of your projects? What happens if you create a new project and try to save it, does same issue occur?

Thanks,

-W

Yes it occurs with every project. Even when I create a brand new one and try and save it. “Level” will not save it will get me to pick a file name to save in Content section.

Also as an example when I load “Context Examples” initial level load fine load fine. If I then try and “Load a level” I get:

Failed to load map /Volumes/Data Raid/Users/gwoodruf/Documents/Unreal Projects/ContentExamples/Content/Maps/Decals.umap

File is not in any of following content folders:

/Users/Shared/UnrealEngine/4.0/Engine/Content/

/Users/gwoodruf/Documents/Unreal Projects/ContentExamples/Content/

It’s as if some place in code my actual user directory is getting compared to “typical” but not in my case directory path. Keep in mind that "/Users/ Is a directory, but is a symbolic link to : /Volumes/Data Raid/Users

Hey

We’re working on a method to allow you to choose project file location, and once that goes through you shouldn’t have this issue. Until that time, we unfortunately aren’t able to reproduce and work around issues that bypass our content delivery system. If there is a way to disconnect Raid Array until then, that might be your best option.

Best,

same thing is going to happen to anyone who’s “Users” directory is on anything but “Default” drive under mac osx. I’ve noticed that when given path “/Users/Data/gwoodruf” as a location. It’s expanding it to “/Volumes/Data Raid/Users” via some sort of “absolute dir” call. Then it’s comparing it to “/Users/” and getting confused. Just “abs path” both directories or neither or disable check via a flag.

It’s just stopping me from saving because it “thinks” I’m outside content folder, but actually I’m not.

On Windows, symbolic links didn’t work very well with engine when trying to relocate content with UE3 due to a bug in wxWidgets framework that was being used for folder browsers.
I resolved it using a Junction (hard link) instead and continued to use that with UE4 without issues, so I’m not sure if issue persists. I’m not really too familiar with *NIX ln command/symbolic links, are there multiple types? You may need to use equivalent of a hard link to get things to function as expected.

Sykeko18 answer is NOT correct. I’m selecting correct directory. editor is just comparing “Absolute Path” which inserts “/Volume/xyz” into one side of test, but not other. It’s making test fail when it should not.

I’d like to note that effectively for anyone who has MacOsx “User” directory on anything but root drive (something not uncommon in professional settings) editor is effectively useless. So I would not discount seriousness of this problem.

is suggestion also does not work as if you disconnect raid now there is no /User/ directory at all.

1 Like

Same issue on my side… As gwoodruf mentioned it it seems to be related to way directories are detected.
As you can see in attached screenshot my /Users folder is actually a symbolic link to another volume /Volumes/diskE/Users It’s pretty common in companies or even when you have 2 drives.
It means file is accessible from 2 different paths but UE4 does think it’s an error.

This is definitely a pain in ■■■, guys!!! especially for someone like myself who is collaborating with others. I would like to be able to save my project file in my dropbox folder, so I can work on it from my laptop, or my workstation depending on locale. Am I missing something as config goes? Or is this simply a bug?

Please Assist.

1 Like

Hey DigitalClay,

This has been fixed. When you pull up Project Browser and select New Project, there will be a down arrow in lower right part of window. Click that to select where you are saving project. I have tested this with DropBox, and it saves to DropBox folder without any issues, and Levels save just fine. Do you see arrow in Project Browser > New Project?

If you are collaborating with others, you might want to look into some source control software, too. It helps when working on same project with multiple people across multiple systems.

Hope that helps! Let me know if you don’t see that down arrow to save your project in destination of your choice.

Hey ,

As of 4.1 this is **NOT FIXED **. This would not help problem where you can’t load “content examples” anyway as you get error SkullyFM noted above. For me it looks like this:

4796-screen+shot+2014-04-25+at+2.35.59+am.png

Even if you try:

You still get this error:

5901-screen+shot+2014-05-07+at+9.49.00+pm.png

I still feel it’s a bug in that some code is using “AbsPath()” then comparing it to relative path. If you just move user directory off a MacOsx boot drive and try and load a content example it’s easy to see.

Hey

We’re going to try to track all these issues in one AnswerHub post, because they seem to be related:

Once we get that resolved, hopefully in 4.3, please let us know if you still experience these issues.

Thanks!

Failed to save map. filename ‘C:/Users/“edited”/AppData/Local/ConanSandbox/Saved/Autosaves/Game/Maps/TestMaps/Marcos/AlmostEmpty_Auto1.umap’ is not within game or engine content folders found in ‘C:/Program Files/Epic Games/ConanExilesEditor/’.

I am getting this on Windows 10 not only when trying to save a map, but every time I try to use an asset. Anyone got a clue as to what is really going on here?

Hi Isrouse,

This report is quite old. Could you post this as a new bug report.

Thanks,

TJ