I’m trying to derive an implementation for an interface that other classes can use throughout the system:
IFoo* MyInterface= new ConcreateObject();
I initially set this in the game instance class as a public property.
Accessing this in another class, say BeginPlay() of a PlayerController, gives me a violation.
Is this even possible and if so is there a place to store the implementation for further use?