Unable to find C++ Classes folder in my content browser

Hello I am trying to find my c++ classes folder in the content browser but it wont show up. I am creating C++ classes only from inside the unreal engine using the Tools Tab > Create New C++ Class. The c++ file is created and I can see it in the source folder in my windows file explorer, along with the C++ class inside.


I have also already made sure the content browser is enable to show C++ classes and tried deleting the .vs, binaries, intermediate and saved files, and rebuilding them. Along with also rebuilding the C++ files from my Visual Studio but no matter what I try the folder will not appear in my unreal editor.

For more context I am using Engine version 5.5.4 and VS code community 2022
Any help is greatly appreciated

Hi,

Hope you’re doing well.

Can you share here the source folder hierarchy?

Check if it following the above example:

─Source
    └───<project_name>.Target.cs [FILE]
    └───<project_name>Editor.Target.cs [FILE]
    └───<project_name> [DIR]
        ├───<project_name>.Build.cs [FILE]
        ├───<project_name>.cpp [FILE]
        ├───<project_name>.h [FILE]
        ├───Public [DIR]
        ├───Private [DIR]

Public/Private are the place where your classes may be inside, in case you are not using those folders, that’s totally fine, the important is, your classes should be inside the Source/<project_name>/; And make sure remain files in the example above like .Target.cs, .Build.cs and so on exist.

Hope that helps - take care.

Sure thing, as far as I can tell my folder hierarchy seems to match the example you gave but I could have missed something. Thank you for the reply!

What about the <project_name>.uproject,

Does it have the structure bellow, I mean, is there a modules section in it?

{
	"FileVersion": 3,
	"EngineAssociation": "5.5",
	"Category": "",
	"Description": "",
	"Modules": [
		{
			"Name": "Dev55",
			"Type": "Runtime",
			"LoadingPhase": "Default",
			"AdditionalDependencies": [
				"Engine"
			]
		}
	],
	"Plugins": [
		{
			...
		}
	]
}

If doesn’t, add it and regenerate your solution.

But if everything seems good and still doesn’t working, try this:

Hope that helps - take care.