phil123456
(phil123456)
February 11, 2022, 5:59pm
1
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?
phil123456
(phil123456)
February 11, 2022, 6:36pm
3
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
phil123456
(phil123456)
February 11, 2022, 6:47pm
5
thx for getting involved anyway
if you like riddles, here’s another one I just posted, maybe you know the answer
Hi,
as I display the main game menu, I have a widget displaying a 3D scene capture
[image]
since unreal does not allow multiple level/scenes contexts, the scene I capture, is hidden inside the game, in an unlit black box
[image]
but as I a show the main menu, I also pause the game!!!
so my captured hidden scene (and materials) is not updated
how do I get around this ?
thanks for your help