Error Message from ue4 editor:
Successfully added class
‘JustinsSlateWidgetStyle’, however you
must recompile the ‘a_OOOO’ module
before it will appear in the Content
Browser. Failed to automatically hot
reload the ‘a_OOOO’ module.Would you like to open the Output Log
to see more details?
Feedback? Why doesn’t it just load up the new class?
The Output Log from ue4 editor:
CompilerResultsLog: ERROR: UBT ERROR: Failed to produce item: C:\UE4projects\a_OOOO\Binaries\Win64\UE4Editor-a_OOOO-5413.dll
CompilerResultsLog: (see …/Programs/UnrealBuildTool/Log.txt for full exception trace)
CompilerResultsLog: Total build time:
15.96 seconds (Parallel executor: 0.00 seconds)
LogMainFrame: MainFrame: Module compiling took 16.204 seconds
Warning: HotReload failed, recompile failed
Warning: RebindPackages failed because compilation failed.
LogSlate: Window ‘Message’ being destroyed
LogSlate: Window ‘Add C++ Class’ being destroyed
LogSlate: Took 0.000207 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansMono.ttf’ (77K)
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.000 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.000 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.000 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.001 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.001 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.001 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.001 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.001 sec). This should never happen. Something is wrong with the timer delegate!
LogUnrealEdMisc: Warning: Heartbeat event firing too frequently (0.002 sec). This should never happen. Something is wrong with the timer delegate!
In the ‘Visual Studio 2017 Solution Explorer’ image is the c++ files created through the ‘ue4 editor’, you can see the list of files. In the ‘ue4 Content Browser’ image you can see the list of c++ class files that is actually showing up in the ‘content browser’. Most of the files are not displaying as they should in the ‘content browser’.
I went through and checked the 17 common classes. In a blank c++ project only 2 of the 17 would not show up in the ‘content browser’. In a blank Blueprint project all 17 classes failed to show up in the ‘content browser’ correctly. This is version 4.21.2.
C++PROJECT:
- EMPTY CLASS
- SLATE WIDGET CLASS
BP PROJECT:
1) EMPTY CLASS
2) CHARACTER CLASS
3) PAWN CLASS
4) ACTOR CLASS
5) ACTOR COMPONENT CLASS
6) SCENE COMPONENT CLASS
7) PLAYER CAMER MANAGER CLASS
8) PLAYER CONTROLLER CLASS
9) GAME MODE BASE CLASS
10) WORLD SETTINGS CLASS
11) HUD CLASS
12) PLAYER STATE CLASS
13) GAME STATE BASE CLASS
14) BLUE PRINT FUNCTION LIBRARY CLASS
15) COMPOUND WIDGET CLASS
16) SLATE WIDGET STYLE CLASS
17) UREAL INTERFACE CLASS
Regenerating project files does not work. I deleted 'binaries', 'intermediate', and 'saved' and regenerated the files, didn't work.
In the examples above all c++ classes were created from the ue4 editor and all the c++ class files are in the project source folder, but do not show up in the 'content browser'.
Here are some links to posts of a similar/same nature:
------------------------
https://answers.unrealengine.com/questions/595457/classes-not-showing-up-in-content-browser.html
https://forums.unrealengine.com/development-discussion/c-gameplay-programming/110567-c-classes-not-showing-up-in-content-browser
https://answers.unrealengine.com/questions/567440/c-classes-arent-showing-in-content-browser.html
https://answers.unrealengine.com/questions/264564/c-class-not-showing-up-in-content-browser.html
https://answers.unrealengine.com/questions/874211/view.html