# How to create object from external file (i.e JSON) and do NOT save those object in the map?

**URL:** <https://forums.unrealengine.com/t/how-to-create-object-from-external-file-i-e-json-and-do-not-save-those-object-in-the-map/1313096>\
**Category:** Programming & Scripting\
**Tags:** actor, unreal-engine, scene, editor, CPP, question\
**Created:** [September 26, 2023, 5:13pm UTC](https://forums.unrealengine.com/t/how-to-create-object-from-external-file-i-e-json-and-do-not-save-those-object-in-the-map/1313096 "2023-09-26T17:13:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c7c5dcb91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c7c5dcb91](https://forums.unrealengine.com/u/anonymous_user_c7c5dcb91)\
**Post date:** [September 26, 2023, 5:13pm UTC](https://forums.unrealengine.com/t/how-to-create-object-from-external-file-i-e-json-and-do-not-save-those-object-in-the-map/1313096/1 "2023-09-26T17:13:55Z")

</div>

Hello,

For my project, I want to use an external file (it will be used only for debug) containing locations.

My goal is to be able to load this file from the editor/game and spawn specific actors from these locations.

In editor, be able to move those actors and update the location in JSON file.

I want to be sure to keep in external file “Debug” stuff.

Is there a solution for this case?  
(The demand is to have debug actors, but without changing the current map)

Thank you
