Building lighting in spawned actor blueprint

Hi all,

I’ve been using the AR sample to learn the ins and outs of AR, now it works by spawning an actor Blueprint when you touch the screen. I’m not sure how to build lighting for geometry inside that blueprint however.

Is there a way to build lighting inside blueprints? I’m not too pushed if I have to bake textures and apply them beforehand but it’d be nice to know I can build lighting for a blueprint that’s not generated at the start of the level using unreal alone.

This is being discussed on the forums : Baked lighting and AR - XR Development - Unreal Engine Forums

If I remember I;ll try to update here and there on any developments I make.

One solution is to have the BP that you’ll spawn already in the level, there you can light and build lighting, make sure your static meshes are set to moveable but set to light as if static.

You can then set visibility of the BP at event begin, make visible and move to the new touched spawn location afterwards.