Questions about "Go to Definition"

When I try to view the definition of a class, VS will take me to a strange place, which doesn’t seem to be the definition of that class.
devenv_m3i9iAOXDY

However, When I manually search “Vector.h” in File Explorer, I just found the definition of FVector.

SO… Is there something wrong with my VS settings?

FVector is a type defined using the macro that it navigates to, what you found when you searched for Vector is the templated vector struct. In most cases it will work, but some of the common structs of unreal are defined using custom macros to accommodate for the different versions, for example float or double components

1 Like

Thank you for your answer!
UE is much more complicated than I thought…