C++ classes placed in a folder named 'Device' are not visible by the Editor

Hi,

C++ classes placed in a folder named ‘Device’ are not visible by the Editor.
The class is created properly and it shows up in the windows source folder, and it is also visible in Visual Studio as expected, but:

  • the ‘Device’ folder is not visible in the ‘C++ Classes’ folder in the editor.

  • creating subclasses based on the classes in the ‘Device’ folder is not possible, due to them not showing up.

Steps to reproduce:

  • Create project, I used an empty 4.18.1 C++ template.

  • Add a C++ class called anything to /Game/Device

note:

  • problem is present in 4.18.1 both in launcher and source version, and I have encountered it earlier in 4.17 as well.

  • I have only tested this with subclassing AActor, but the problem seems to be with the folder name.

I suspected that this folder name is reserved or something, but I haven’t found anything related to this in the documentation.

Is this a bug or I’m missing something?

Thanks.

Hi ,

Sorry for not getting back to you sooner. I ran some tests, and was able to see the issue that you described in this post. I have entered UE-58162 to have this investigated further.