How can I resolve Linker Error "LNK2019: unresolved external symbol" when trying to access Cable component?

I’m trying to modify the cables on the C++
Whenever I try to access the UCableComponent or ACableActor via either the StaticClass() Function or by casting it from a base type, I get this linker error

error LNK2019: unresolved external symbol “private: static class UClass * __cdecl UCableComponent::GetPrivateStaticClass(wchar_t const *)” (?GetPrivateStaticClass@UCableComponent@@CAPEAVUClass@@PEB_W@Z) referenced in function “class UCableComponent * __cdecl Cast(class UObject *)” (??$Cast@VUCableComponent@@@@YAPEAVUCableComponent@@PEAVUObject@@@Z)

I’m having the same problem, did you find any fix?

If you still have this problem, check the solution in this link for the bug report i have made.