This seems really dumb but you can use the folder name Wolf, it fails when packaging i guess its clashing with the switch as wolf was used as its code name? this would affect most people that have a animal folder for the wolf… lol
steps
create a black project
create a folder name it Wolf
add a texture to it can be anything not just a texture
the package it it will fail with the following
ERROR: The following files are set to be staged, but contain restricted folder names:
This issue should be fixed with the release of 4.18.1, which released today. Please update the engine to 4.18.1 and let me know if you still have issues.
The same issue with UE4.18.1. I have “Switch” restricted folder name in my project. If I rename it to “S1witch” then the project compiles successfully.
Actually, I think the problem is that “Switch” is reserved now that the Nintendo Switch is one of the supported platforms, so it makes sense in that instance.
Hello OverRated_AU,
today I found the same issue in my project. My bad: I was importing assets from an folder with restricted name someting like “pc.texture” in the folder name.
I fix it removing that assets, renaming the folder (without dot’s) and reimporting all the assets.
I hope that my answer can be helpful for somebody.