Overlap not working

So in the side scroller template, I tried to give the character a component that would overlap with things in c++, and I changed its size and position in the character’s blueprint file. For some reason, this made overlapping with the character stop working all together. I used overlapping in other instances before, but those stopped working as well. I even tried to remove the component in c++, and that didn’t do anything. I’ve heard people solving similar issues by deleting their blueprint and creating a new one. I tried this to no avail. Does anyone know of a better solution to this?

After a bit more research, I figured out that all I had to do was add UFUNCTION() above my BeginOverlap and EndOverlap functions. I hope this helps anyone who runs into or has already ran into a similar problem.