GetGameInstance...From simple object?

Hi,

I have an object that only contains simple data and code…unrelated to 3D nor unreal

it just outputs some numbers…yet I need to have access to GamInstance

so I tried to replace it with an actor, but it’s not an actor, I mean it’s not supposed to be spawned in 3D world

so how do I get the Game Instance from a simple object ?

thanks

I’m not sure I understand, is this a UObject? Or an object created outside of Unreal Engine running in some external process?

I found the solution, it’s an object (UObject?) I instanciate in MyGeInstance, so I just had to pass it as a parameter so that object gets the MyGameInstance value

stupid of me :slight_smile:

Makes sense!

thx for getting involved anyway

if you like riddles, here’s another one I just posted, maybe you know the answer