My UObject class doesn't show up in blueprint variables

Did you create the cpp & header file via the Tools => New C++ Class => parent class UObject?

It should show up in engine


If you add pure files in your IDE it may not register in the engine.
The file needs to register in YourProjectName.vcxproj.filters in your intermediate folder.