BP Main Game Instance Target Error

Hello everyone, I don’t understand why the parent class BP_Main Game Instance, and in the Set Game Sound function has a target from BP Main Game Instance from the same class, but for some reason an error occurs, can anyone come across a similar error?


If the GameInstance is not of the type BP_Main_GameInstance (set in the project settings), then the result will be invalid and you will receive this error.

I don’t quite understand, do you mean the Get Game Instance node?