I wrote a c++ class named MathTester, which is inherited from ActorComponent.
I put MathTester into an Actor named MathTester(yes, the same name), but when I restart ue5, the c++ class MathTester disappeared.
How should I solve this problem?
Some bugs may appear in UE. Its normal to have this. When you use same name to everything, I suggest to use renaming functionality of IDE and convert your component to MathTesterComponent this may help you.
For the naming I suggest you read
I just changed the name of blueprint to BP_ Mathtester, but it doesn’t work.
The problem is solved.
I use VS to build my code instead of Live Coding.
It seems that Live Coding can only build your code TEMPORARILY, and only VS can build code into binary files correctly.
Trust me, VS is no slower than Live Code.
1 Like
As a suggest of intellisense and ide, please read community tutorial below
1 Like
thank you.
1 Like