Basically the title, I have a UE_LOG in my MyGameInstanceSubsystem::Initialization() method and it triggers three times. I thought the point of it was to only trigger once.
I found this old thread https://forums.unrealengine.com/t/gameinstance-is-constructed-three-times/18387 where they had the same problem with the GameInstance, but the closest thing to a conclusion was “Try GameSingleton” - which I can’t make a Subsystem of. I’d really like to take advantage of the Subsystems, but I don’t know why it’s initializing multiple times.
Without more context it’s hard to tell what’s going on here. If he means “in editor” it could be because of repeated PIE sessions… Or maybe even because the blueprint previews & other viewports somehow instanciate their own game instance (and all associated subsystems)
My best bet would be: 1 call for the CDO, 1 call for the actual editor, 1 call for a PIE session. Then OP looked at the logs and didn’t notice that 2 of these calls were before their test PIE session.
If however we’re talking a packaged game, then that would be worrysome.
By the way, as far as I know there’s an “Initialize” method, but no “Initialization”.