I was trying to create classes in this folder and I can not use them in editor because they are not displayed in Content
Browser. No matter how deep is hierarchy of this folder, all classes in the folder and its subfolders are not displayed. Restarting the editor and even rebuilding UE4Editor-FolderTest.dll does not help either.
It looks like bug for me. Can you guys confirm it?
Steps to reproduce:
Create BasicCode C++ project (Desktop / Console, Maximum Quality, No Starter Content)
Add new C++ class located in project subfolder called “Android” (actually not matter, but in my case class deriverd from Pawn)
Can you check class viewer? Window->Devloper Tools->Class Viewer
If it won’t apper there that means engine don’t see that class at all, which most likely means your code don’t build at all. So in VS do you see sign of this code being compiled at all?
I checked Class Viewer and you were right. Class in this folder was not build at all, according to Visual Studio log.
I have created another folder (named “AnotherFolder”), added MyCharacter class to my project and put some code to both MyPawn.cpp and MyCharacter.cpp in Tick methods (added function AddOnScreenDebugMessage to output debug message, just to be sure there were some changes to the cpp files) and rebuilt solution in VS.
As a result MyCharacter class was recompiled and displayed in Class Viewer, however MyPawn wasnt.
At the moment, I have no idea what can cause behaviour like this. If you are not expiriencing such behaviour its probably something wrong with my VS environment.
Sorry for the late response. What you’re seeing is expected because “Android” is a unique word that the editor has special considerations for. Anything in a folder with that name will only be relevant when working with / packaging for Android. You can work around this behavior by editing the folder name slightly (such as _Android or Android_ ).