Hello,
My project currently houses many Level Instances and we use Engine 5.3.
My Level Sequence animations, which are in a level Instance now, are not playing anymore from another level, even though the Level Instances are loaded.
Before, all my objects and level animation were in a single level and it all worked fine. Not sure how to make this work across different (instance) levels.
Looking for some advice/tutorial.
Thank you.
1 Like
Leomerya12
(Leomerya12)
October 24, 2023, 5:21pm
2
Hello,
You’re going to need a GAME INSTANCE.
A BP_GAMEINSTANCE will act as a GLOBAL BLUEPRINT that will allow levels to communicate with one another.
It’s a MIDDLE MAN.
The reason you don’t want levels to directly communicate with one another is because unforeseen runscript can occur.
Just make sure that when you do create a GAME INSTANCE, you set this instance as default in the editor settings (or you can use the default):
i can only one instance class i will use more of these classes
if i make more classes and i cast from de instance class that is selected in project settings will game remember that variable when i go to another level?
[35695-instance.jpg]
Thank you for your reply,
Oke so i need game instance. I’ve made one myself now called ProjectGameIntsance.
It’s empty. What am i suppose to do in here in order to make sure that alle levels can communicate to each other?
1 Like
Leomerya12
(Leomerya12)
October 25, 2023, 2:41pm
4
Here’s a video explaining how to use it. It’s only 8 minutes long.
Game Instances are not complicated. You just treat them like regular blueprints.