Hello,
I am on lesson 191 in the Unreal Engine 5 C++ Developer course, working on the SimpleShooter game, and despite having no red squiggles, my build fails every time. I have followed the lesson step by step and checked spelling multiple times
. Here are the images of the code I have, so please let me know if I need to provide anything else. The arrow in the last image indicates that I had to move “void shoot ();” from the private to the public section according to the lesson.
Have you implemented shoot in the cpp file? Is the case correct? Normally UE C++ function names would start with a capital letter.
Can you share the error as well.
I think so, since things were working until now. And sure, let me know if I grabbed the right thing!
Yeah, it says Shoot does not exist in character with a capital S and you named it with a lower case s in the header.
C++ is case sensitive.
1 Like
Oooh I see what you’re talking about.
It works now! Thank you so much, you saved my day!
1 Like