Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Editor generates invalid content folders

The UE4 editor generates folders in the content browser to match those added on disk. It will create folders including spaces (and maybe other invalid characters) even though they can't be entered if directly adding a folder inside the content browser.

If an asset is then imported into such a folder, it can't be saved.

Product Version: UE 4.18
more ▼

asked Nov 09 '17 at 10:44 AM in Bug Reports

avatar image

2.1k 83 37 121

avatar image Jeff A ♦♦ STAFF Nov 09 '17 at 03:24 PM

Hi Kamrann, I have a couple quick questions for you that will help me greatly. First, could you provide a list of steps to reproduce these invalid folders. Regarding the other question is this happening when you first create a project or is it happening as you are working through a project. Thanks.

avatar image kamrann Nov 09 '17 at 03:38 PM

In Windows Explorer, just create a folder with a name containing spaces, within any project's Content directory. Then load up the project. The folder will appear in the content browser with the space(s). If you import anything into it, you'll then be unable to save the asset.

This is different to the behavior seen if you copy paste such a folder, containing an image or such, while the project is running in the editor. In that case, if you click on the auto prompt to import the detected asset, it will replace spaces in the folder with underscores as it should.

It's not something that is going to happen often, but sometimes people will copy a folder (or folder tree) containing raw asset files into the content directory manually, then try to import them from the editor after doing so. So I think it should be fixed.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Kamrann,

What you are doing here would not fall under the normal workflow for the engines intended use. When creating a folder structure for a UE4 project all folders should be made in the UE4 editor. If you or anyone is copying assets from another source and importing it into the engine, that outside source is responsible for having the correct folder structure/naming scheme.

more ▼

answered Nov 09 '17 at 04:55 PM

avatar image

Jeff A ♦♦ STAFF
3.3k 2 5 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question