Announcement

Collapse
No announcement yet.

Missing componenet

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Missing componenet

    Hello everyone!

    I started an Udemy class for Unreal. As I was following the videos, I was making the same changes in the engine, and visual studio.

    I added the following line to a .h file, in a protected class, and kept getting an error saying the component was undefined.

    USphereComponent* SphereComp;

    The instructor also had a finished Unreal project, which I downloaded, and at that time, there was no error when I pulled up the visual studio solution.

    Can anyone provide any guidance on how I could have fixed this myself? At this point, I don't know what was wrong or was missing.

    Thank you!

    #2
    Probably didn't forward declare the "USphereComponent" class?

    Comment

    Working...
    X