Worked for me, except that I only deleted Binaries, and open the .uproject to trigger the “Rebuild project” message and then it fixed it
this worked for me, thanks!
Hello!
I found the solution for me, it seems that create an empty class doesn’t show up the C++ folder, but it works for other classes!
On UE 5.03 with VSCode on Windows 10.
Got to Tools->Class Viewer than pick the class that you need and on the right there is a drop down menu that allows you to create a new class. As soon as you create the new class the C++ Classes folder will show up. Unreal 5.3
This worked for me too, thanks.
Something that tripped me up for a while was the necessary ,
if there are other stuff after it.
{
"FileVersion": 3,
"EngineAssociation": "4.27",
"Category": "",
"Description": "",
"Modules": [
{
"Name": "MyProject",
"Type": "Runtime",
"LoadingPhase": "Default",
"AdditionalDependencies": [
"Engine"
]
}
], // Must have a comma here
"Plugins":[
{
"Name": "PluginName",
"Enabled": true
},
]
}
There in an icon at the bottom(in UE 5.4), which stands for “Recompiles and reloads C++ code for game systems on the fly”. Clicking on this fixed the issue for me.
I follow this tutorial Unreal Engine CPP Quick Start | Unreal Engine 5.4 Documentation | Epic Developer Community and have similar issue in UE 5.4.3
I solve this issue by close Unreal Engine. Then clean solution in my visual studio IDE, and then I rebuild solution. Open again Unreal Engine and the c++ shows up.