Accessing function and variable of another C++ class nullptr problem

Check This : https://forums.unrealengine.com/t/referencing-trouble-illegal-text-reference-to-a-private-object/138705/2

Its Work from me