I am working on the UE 5.1 crypt raider game on the draw debug line part. When I finished writing the cpp code I realized that it was not drawing a debug line. So I checked the code and all. After a while, I realized that player blueprint’s camera was missing the “grabber component”. I tried adding it but It was not finding it. Why did the component disapper? Please help now i’m stuck. Here are some screenshots for more info:
my code:
the player bp:
I don’t know why but I think that this problem might be caused by the time where I tried to make the grabber cpp conponement, it did not let me, I asked you guys, and you guys told me to create it another way. link for the post: Can't add new c++ class - #3 by Bar7
so maybe something was messed up in the cpp classes folder.
i don’t know. Please help I really want to learn and I am now stuck.