Level Blueprint and Blueprint interface

Trying to connect an interface to a level blueprint following the tutorial in the unreal documentation and the interface tab is not there. Not sure if its location has changed or if I am just doing something wrong. Although I am able to connect the interface to other Blueprints but never to the level blueprint.

You can’t, level blueprint is special blueprint that is saved with level for compatibility reasons you can’t change it’s class (you actully can in ProjectSettings but it you can’t make blueprint class of ALevelScriptActor to do so only in C++… which let you design some blueprint communication). I think reason behind is because each level creates diffrent blueprint class of level blueprint, it might create in incompatibilities between levels if normal blueprints would reference to it in any way. So it forces you to make level blueprint talk to normal blueprints.

I don’t know why how you use level blueprint, but remeber that it’s blueprint exlusivly for level scripting, most common mistake that people do with it is that they place main gameplay code in to it, where they should do that in GameMode so this code can be reused in all levels. Doing that makes more sense if you make single level game.

I know this is old, but just wanted to add that answer above is incorrect regarding the ability to add a blueprint interface to a level blueprint. The link to the page below shows how to do it specifically for level blueprints.

You have to press the class settings button in your level blueprint editor. A section on the corresponding details menu will allow you to add an interface.

2 Likes

Thank you for posting this even though it was old. It pointed me in the right direction.
The only thing I can’t figure out is how to get the reference to the level blueprint pictured here from the documentation:

343834-interfacemessagefunctioncalled.jpg

I found a work around. I created a blank starting level, added my WIP map as a Streaming Level and changed the Streaming Method to Always Loaded. The Level Blueprint Interface works perfect using this method from the documentation:

343838-interfacegetlevelstreaming.jpg

The only difference I made in mine is that I’m only calling it when needed (not on Event Tick) and I put an If Valid statement to catch errors if I’m not streaming that level.

1 Like

Are you aware that the image is now in the docs here?