Sharing variables between Blueprints via Interfaces

anonymous_user_4071fa6e
Wed, 17 Sep 2014 20:44:24 +0000
UI

I’ve been looking for a succinct way to share variables between blueprints using interfaces.

i.e. “BLUEPRINT_B can GET/SET variables declared in BLUEPRINT_A via a Blueprint Interface.”
(The communicating blueprints are not be associated with a visible scene object.)

I have already seen the official Blueprint interface docs and video tutorial but only this post describes exactly what I wanted to do.

In that particular post, the blueprint interface communication works perfectly between the default MyCharacter_blueprint and the
Actor_blueprint.

Under the assumption that any blueprint can communicate with any other blueprint I removed the interface implementation from MyCharacter and added it to another blueprint in my project (e.g. a BP_SaveGame).

Unfortunately there is something missing as the communication no longer works and the printed byte value is always zero.

Can someone explain what is missing?

14 posts - 1 participant