Hi,
I have level map in witch i have small bp that calculate 3 variables at the end of game. And if variable is true Struct is set to true like in image.
So what is the problem.
After finishing the game i started optimizing game. And i noticed that my maps take more than 0,5 mb. But the levels them self’s are almost empty.
So i tested and determined that bps in level map takes more than 0,4 mb. When i take same logic and put it in my spawners bp and than get that same logic from spawner to level bp it does not take any space.
So what is the best way with this if i need to calculate for example how many enemys player have killed should i put the logic anywhere else just not in level BP?
Off topic, but it bothers me too much. If these are structs, than you should definitely use *Set Member in Struct *rather than create blueprint spaghetti extravaganza. Why update 150 variables when you can update 3?
And the counting itself is on Players BP. But the code in image makes summary in particular level.
On different level or map there is different enemy count and possibly different enemy kill count.
But my question is about the structs. And is it bad if i make any BPs in Level BP?
YES.
The problem with thinking otherwise (aside from mobile integration) is that thinking otherwise has left us with 80GB for a game since the devs can’t be bothered compressing things…