Trying to get class successfully :(

becuase “_C” is the class.

Isn’t it obvious?

This is a package:

/Game/TankBP.

This is a blueprint

/Game/TankBP.TankBP

And this is a class:

/Game/TankBP.TankBP_C

Use the first to do poackage things. The second to do Blueprint Things. But you need a class to Create real objects in game.

Its confusing in the editor. It wont show you the _C excepot when simulating. Turn your TSubclass into a UPROPERTY with a pulldown. THen look at what you get in code when you set it and ask it for what class it has…

1 Like