Download

[Solved] Cast To GameInstance...Issue...Variable Empty

I have a Avtor BP. In the Construction Scipt i call Event in App-GameInstance. But after this the Variable is Empty?

Here is the GameInstance BP:

Here is the Output:

3.PNG

Edit: Added Tags

i changed DATA Variable to expose on Spawn
and get this Output now:

The yellow output is from the player controller BP: (The Actor BP is draged into the Level)

1.PNG

Where is the best place to create the Data from the Table? This should be done only once. But The Actor have to stay in the Level for other reasons.

I forgot that i had a calling in the Level Blueprint… i disconnected it and get this output:

1.PNG

2.PNG

Therefore, getting a ref of the gameinstance in the construction script is not a good idea.

Thank you!!!
I will find another solution