When I produced patch for my android game, “Game Instance” not included in the patch.
I tested by adding new variable inside “GameInstance” and display that variable’s value.
After I updated the game from android phone, the variable’ value not displayed and game is crushed.
Also, I tested with “GameMode” and “GameState”, not only with variable but also with function, but result is same:game is crushed.
Is this normal? I mean, Unreal does not support changes to “GameInstance” ?
If so, everytime I make changes to “GameInstance”, users have to download the whole package which’s size is big(maybe bigger in the future).
P.S…my project is coded everything only in Blueprint, and changed to C++ when packaging.
P.S I also tested by adding new types of contents which are “3D Meshes”, “Paper 2d Spirites”, “Data Table”, “Enum”, “Object”, “Actor”, “Map”. But those are include inside the patch and working correctly.
Some code changes are included in the patch, like changes in widgets’ events, actors’ variables n functions, etc…
But except those bp classes’ code : GameInstance, GameMode, GameState
I think, when system mounts the patch file, it needs to re-load those classes to make them work.
Other code changes are working bcoz the level is re-loaded, but this is just my opinion.
Yeah, when I make release package and redownload the whole package, it works, every changes are included. Well, for now, I will avoid changing those classes in the future patches, except when it’ll be necessary.
Anyway, thanks for the answer bcoz in these days, some questions drip into the abyss of forgotten.