How to export a list of actors from a specific Layer to JSON or CSV using Blueprints?

Hi everyone,

I’m working on an Editor Utility Blueprint and I’d like to extract all the actors assigned to a specific Layer in the level. I’ve been using the “Get Actors from Layer” node from the Layers Subsystem, which gives me the correct list of actors.

Now I want to export this actor list to a JSON or CSV file—ideally including properties like actor name, class, and world location.

Is there a Blueprint-based way to write such data to a file on disk? Or would I need to use Python or C++ for the file export part?

Any examples, plugin recommendations, or tips would be greatly appreciated!

Thanks in advance.

Hey @cho04083 how are you?

I think the best option to do this is Python. First of all, check if you have the “Python Editor Script Plugin” enabled. Once you have it, you will be able to use the node “Execute Python Command” to execute the corresponding script and export the data after you stored it beforehand.
This method provides more flexibility than others you can find as plugins.

But if you want to try it with plug ins as well, you can test VaRest which is free and does a great job exporting JSON files.

I hope this helps!