# Editor Scripting

**URL:** https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=31

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 32

---

## [Avoid hardcoding "/Game"](https://forums.unrealengine.com/t/avoid-hardcoding-game/247747)

<div class="topic-metadata">

**Author:** [@SausagesSizzling](https://forums.unrealengine.com/u/SausagesSizzling)\
**Replies:** 0\
**Last updated:** [August 28, 2021, 7:58am UTC](https://forums.unrealengine.com/t/avoid-hardcoding-game/247747 "2021-08-28T07:58:19Z")

</div>

Hi :slight\_smile: Even though it is a very minor issue I hate having to hardcode the “/Game” string e.g. when renaming assets. This is done in all the tutorials that I have seen. I assume there must be some way to get th…

---

## [How Do I Create and Use An Editor Asset Library?](https://forums.unrealengine.com/t/how-do-i-create-and-use-an-editor-asset-library/247043)

<div class="topic-metadata">

**Author:** [@Miraj\_Person](https://forums.unrealengine.com/u/Miraj_Person)\
**Replies:** 2\
**Last updated:** [August 27, 2021, 4:18pm UTC](https://forums.unrealengine.com/t/how-do-i-create-and-use-an-editor-asset-library/247043 "2021-08-27T16:18:17Z")

</div>

So it seems there is something called Editor Asset Library that extends Blueprint Function Library, but I have no idea how to actually make or use one I wanted to use it so that I can use this DuplicateAsset function: …

---

## [Adding menu entry in Python; script "works" but parameter meanings are unclear](https://forums.unrealengine.com/t/adding-menu-entry-in-python-script-works-but-parameter-meanings-are-unclear/247491)

<div class="topic-metadata">

**Author:** [@skunkiferous](https://forums.unrealengine.com/u/skunkiferous)\
**Replies:** 1\
**Last updated:** [August 27, 2021, 3:20pm UTC](https://forums.unrealengine.com/t/adding-menu-entry-in-python-script-works-but-parameter-meanings-are-unclear/247491 "2021-08-27T15:20:19Z")

</div>

Based on a previous forum post, and some web search, I now have a working script. Here the post I used as example: https://forums.unrealengine.com/t/making-menus-in-py/144498/7 But there are multiple parameters in the …

---

## [Android 11 Save Game not working](https://forums.unrealengine.com/t/android-11-save-game-not-working/487081)

<div class="topic-metadata">

**Author:** [@Usama\_Gunner](https://forums.unrealengine.com/u/Usama_Gunner)\
**Replies:** 3\
**Last updated:** [August 26, 2021, 9:40pm UTC](https://forums.unrealengine.com/t/android-11-save-game-not-working/487081 "2021-08-26T21:40:31Z")

</div>

Use of " ExternalFilesDir" can delete save game on updating the game. So this is not right solution. Now what would be the best solution to save game on android 11? Save game working fine on android 10 but because of sc…

---

## [How do I save and load when AI's behavior tree changes?](https://forums.unrealengine.com/t/how-do-i-save-and-load-when-ais-behavior-tree-changes/488026)

<div class="topic-metadata">

**Author:** [@GoldenPixy](https://forums.unrealengine.com/u/GoldenPixy)\
**Replies:** 1\
**Last updated:** [August 26, 2021, 10:12am UTC](https://forums.unrealengine.com/t/how-do-i-save-and-load-when-ais-behavior-tree-changes/488026 "2021-08-26T10:12:43Z")

</div>

Hi, there. I have an AI with several behavior trees. The player should use some currency so the AI can use the next behavior tree. How can I save the game each time the AI starts using the next behavior tree then load th…

---

## [Save Data for Editor Utility Widgets](https://forums.unrealengine.com/t/save-data-for-editor-utility-widgets/244905)

<div class="topic-metadata">

**Author:** [@Sorai](https://forums.unrealengine.com/u/Sorai)\
**Replies:** 4\
**Last updated:** [August 26, 2021, 6:53am UTC](https://forums.unrealengine.com/t/save-data-for-editor-utility-widgets/244905 "2021-08-26T06:53:36Z")

</div>

I’m trying to save widget information for use when re-opening the editor. I’m using the Save Game object and it seems to work as expected when I close the editor utility and re-open it. However, if I compile or restart t…

---

## [How to save mouse invert and sensitivity variables?](https://forums.unrealengine.com/t/how-to-save-mouse-invert-and-sensitivity-variables/487973)

<div class="topic-metadata">

**Author:** [@\_e\_92](https://forums.unrealengine.com/u/_e_92)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 8:18am UTC](https://forums.unrealengine.com/t/how-to-save-mouse-invert-and-sensitivity-variables/487973 "2021-08-25T08:18:52Z")

</div>

A quick look at this, and I noticed you’re creating a new save game every time you start the menu That will overwrite anything current in there…

---

## [How to dispose UObject after using it in the editor](https://forums.unrealengine.com/t/how-to-dispose-uobject-after-using-it-in-the-editor/247077)

<div class="topic-metadata">

**Author:** [@xXUnreal34Xx](https://forums.unrealengine.com/u/xXUnreal34Xx)\
**Replies:** 0\
**Last updated:** [August 24, 2021, 7:41am UTC](https://forums.unrealengine.com/t/how-to-dispose-uobject-after-using-it-in-the-editor/247077 "2021-08-24T07:41:24Z")

</div>

Hello guys, I’m experiencing a lot of issues with the UE4 memory management system. I have a couple of C++ scripts in my editor to process StaticMesh such as : Generating LODs, Collision testing and more. I’m processin…

---

## [4.27 Remotw Web API- how to access Blueprint properties?](https://forums.unrealengine.com/t/4-27-remotw-web-api-how-to-access-blueprint-properties/246994)

<div class="topic-metadata">

**Author:** [@eco\_bach2](https://forums.unrealengine.com/u/eco_bach2)\
**Replies:** 0\
**Last updated:** [August 23, 2021, 8:55pm UTC](https://forums.unrealengine.com/t/4-27-remotw-web-api-how-to-access-blueprint-properties/246994 "2021-08-23T20:55:13Z")

</div>

The new WebRemote API in 4.27 is awesome! However can’t figure out how I would expose Blueprint properties to the API. Everything is only exposed in the editor at the instance level. I have a Spotlight wrapped in a Blu…

---

## [Copy enums from struct to struct](https://forums.unrealengine.com/t/copy-enums-from-struct-to-struct/487849)

<div class="topic-metadata">

**Author:** [@VesperDuck](https://forums.unrealengine.com/u/VesperDuck)\
**Replies:** 0\
**Last updated:** [August 23, 2021, 3:46am UTC](https://forums.unrealengine.com/t/copy-enums-from-struct-to-struct/487849 "2021-08-23T03:46:42Z")

</div>

Hey all, I’ve got a pair of structs which both inherit from the same parent, and both have the same enum UProperties inherited from the parent, of which there are at least 20+ enum properties, and at some points, I want…

---

## [Issue creating a 3D Mesh(Access violation)](https://forums.unrealengine.com/t/issue-creating-a-3d-mesh-access-violation/246793)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_19abeaac](https://forums.unrealengine.com/u/anonymous_user_19abeaac)\
**Replies:** 0\
**Last updated:** [August 22, 2021, 2:39pm UTC](https://forums.unrealengine.com/t/issue-creating-a-3d-mesh-access-violation/246793 "2021-08-22T14:39:38Z")

</div>

I was following a tutorial on how to assign a mesh to a staticMesh and I get the following error: Exception thrown at 0x00007FFD8F47DD5A (UE4Editor-Engine.dll) in UE4Editor.exe: 0xC0000005: Access violation reading loc…

---

## [Swipe to Move](https://forums.unrealengine.com/t/swipe-to-move/246559)

<div class="topic-metadata">

**Author:** [@RazkingZ](https://forums.unrealengine.com/u/RazkingZ)\
**Replies:** 0\
**Last updated:** [August 20, 2021, 4:50pm UTC](https://forums.unrealengine.com/t/swipe-to-move/246559 "2021-08-20T16:50:05Z")

</div>

Hi, I’m hoping someone here can help, i’m using a plugin called ultimate touch components and I’m trying to combine a pinch to zoom and swipe to move blueprints. But the example swipe to move only works from one angle, i…

---

## [Is able to set different 'GameDefaultMap' for different platforms? set in '\[/Script/EngineSettings.GameMapsSettings\]' @'DefaultEngine.ini' & @'IOS\\IOSEngine.ini' is OK?](https://forums.unrealengine.com/t/is-able-to-set-different-gamedefaultmap-for-different-platforms-set-in-script-enginesettings-gamemapssettings-defaultengine-ini-ios-iosengine-ini-is-ok/246510)

<div class="topic-metadata">

**Author:** [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Replies:** 0\
**Last updated:** [August 20, 2021, 11:12am UTC](https://forums.unrealengine.com/t/is-able-to-set-different-gamedefaultmap-for-different-platforms-set-in-script-enginesettings-gamemapssettings-defaultengine-ini-ios-iosengine-ini-is-ok/246510 "2021-08-20T11:12:26Z")

</div>

is able to set different ‘GameDefaultMap’ for different platforms? set in ‘\[/Script/EngineSettings.GameMapsSettings\]’ @‘DefaultEngine.ini’ & @‘IOS\\IOSEngine.ini’ is OK? in IOS will use the value @‘IOS\\IOSEngine.ini’ ? …

---

## [How to detect assets import via python?](https://forums.unrealengine.com/t/how-to-detect-assets-import-via-python/487703)

<div class="topic-metadata">

**Author:** [@Hansyuan\_Nb](https://forums.unrealengine.com/u/Hansyuan_Nb)\
**Replies:** 0\
**Last updated:** [August 20, 2021, 10:07am UTC](https://forums.unrealengine.com/t/how-to-detect-assets-import-via-python/487703 "2021-08-20T10:07:09Z")

</div>

HI, I’d like to know is there a way to detect an asset imported from user. For example, if an user drag an image into engine, the python script will notice and change some settings. Thank you

---

## [unreal python get material graph node details option get property](https://forums.unrealengine.com/t/unreal-python-get-material-graph-node-details-option-get-property/245306)

<div class="topic-metadata">

**Author:** [@rhqmffls12](https://forums.unrealengine.com/u/rhqmffls12)\
**Replies:** 1\
**Last updated:** [August 19, 2021, 2:53am UTC](https://forums.unrealengine.com/t/unreal-python-get-material-graph-node-details-option-get-property/245306 "2021-08-19T02:53:56Z")

</div>

hello! I want to get the information value of the parameters in the detail section of the material graph node through Python script. What should I do? 1 2 3 4 5 6 7 8 9 10 11 material = util.load\_asset('/Game/…

---

## [Hard object reference to DataAsset is sometimes null in packaged build](https://forums.unrealengine.com/t/hard-object-reference-to-dataasset-is-sometimes-null-in-packaged-build/475966)

<div class="topic-metadata">

**Author:** [@nullObjectPtr](https://forums.unrealengine.com/u/nullObjectPtr)\
**Replies:** 6\
**Last updated:** [August 19, 2021, 1:11am UTC](https://forums.unrealengine.com/t/hard-object-reference-to-dataasset-is-sometimes-null-in-packaged-build/475966 "2021-08-19T01:11:50Z")

</div>

We are seeing problems with some actors in our levels that have Hard Object References to DataAssets. The references to the DataAsset references are showing up as null on occasion on cooked builds but never in the editor…

---

## [Making a generator to add things to Level Sequence Tracks](https://forums.unrealengine.com/t/making-a-generator-to-add-things-to-level-sequence-tracks/246129)

<div class="topic-metadata">

**Author:** [@Variann](https://forums.unrealengine.com/u/Variann)\
**Replies:** 0\
**Last updated:** [August 18, 2021, 12:00pm UTC](https://forums.unrealengine.com/t/making-a-generator-to-add-things-to-level-sequence-tracks/246129 "2021-08-18T12:00:14Z")

</div>

Hello. I’m currently working on creating a tool to help create cinematic dialogue that the player interacts with, similar to Witcher 3. To get a better understanding of the full scope I am trying to achieve, I recommend…

---

## [Python API/tessellation options](https://forums.unrealengine.com/t/python-api-tessellation-options/132574)

<div class="topic-metadata">

**Author:** [@frost-xyz](https://forums.unrealengine.com/u/frost-xyz)\
**Replies:** 6\
**Last updated:** [August 16, 2021, 10:50am UTC](https://forums.unrealengine.com/t/python-api-tessellation-options/132574 "2021-08-16T10:50:16Z")

</div>

The Python API example for tessellation options doesn’t appear to work. The file imports successfully without any errors, but the following settings are ignored. Any ideas? https://docs.unrealengine.com/en-US/…html#exam…

---

## [Assetpicker can't filter specific blueprint](https://forums.unrealengine.com/t/assetpicker-cant-filter-specific-blueprint/245553)

<div class="topic-metadata">

**Author:** [@Chili\_Turtle](https://forums.unrealengine.com/u/Chili_Turtle)\
**Replies:** 0\
**Last updated:** [August 15, 2021, 10:49am UTC](https://forums.unrealengine.com/t/assetpicker-cant-filter-specific-blueprint/245553 "2021-08-15T10:49:08Z")

</div>

How can I filter specific UObject/UBlueprint, I can find my “UInstantDialogueConditionObject” when I do this (Picture 1) UClass\* AllowedClass = UObject::StaticClass(); FAssetPickerConfig AssetPickerConfig; AssetPicke…

---

## [UnrealEditor\_CoreUObject. EXCEPTION\_ACCESS\_VIOLATION reading address 0xffffffffffffffff](https://forums.unrealengine.com/t/unrealeditor-coreuobject-exception-access-violation-reading-address-0xffffffffffffffff/245508)

<div class="topic-metadata">

**Author:** [@Igni.dev](https://forums.unrealengine.com/u/Igni.dev)\
**Replies:** 0\
**Last updated:** [August 15, 2021, 12:02am UTC](https://forums.unrealengine.com/t/unrealeditor-coreuobject-exception-access-violation-reading-address-0xffffffffffffffff/245508 "2021-08-15T00:02:47Z")

</div>

I’ve built installed build of ue5 and now when I try to run Editor It has crashed: Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0xffffffffffffffff UnrealEditor\_CoreUObject!UObjectBaseUtility::GetFull…

---

## [Save Game not working when APK downloaded from Google Play](https://forums.unrealengine.com/t/save-game-not-working-when-apk-downloaded-from-google-play/391849)

<div class="topic-metadata">

**Author:** [@Increditastic](https://forums.unrealengine.com/u/Increditastic)\
**Replies:** 36\
**Last updated:** [August 13, 2021, 9:00pm UTC](https://forums.unrealengine.com/t/save-game-not-working-when-apk-downloaded-from-google-play/391849 "2021-08-13T21:00:08Z")

</div>

For some reason my Android Cardboard VR game does not save when I’ve uploaded it on Google Play. It works fine in editor and it also works fine when I install it via the .bat script in the packaged folder, but it does no…

---

## [Unreal.engine save games not working in sdk 30 (android 11)](https://forums.unrealengine.com/t/unreal-engine-save-games-not-working-in-sdk-30-android-11/487323)

<div class="topic-metadata">

**Author:** [@Usama\_Gunner](https://forums.unrealengine.com/u/Usama_Gunner)\
**Replies:** 1\
**Last updated:** [August 12, 2021, 4:28pm UTC](https://forums.unrealengine.com/t/unreal-engine-save-games-not-working-in-sdk-30-android-11/487323 "2021-08-12T16:28:40Z")

</div>

I have done every possible solution but iam.not successfull in saving game in android 11. It works on every device except android 11. Checked externalfilrsdir Target sdk 30 Sdk api level match ndk Ndk api level andro…

---

## [Get Country by IP](https://forums.unrealengine.com/t/get-country-by-ip/245184)

<div class="topic-metadata">

**Author:** [@imnomad](https://forums.unrealengine.com/u/imnomad)\
**Replies:** 0\
**Last updated:** [August 12, 2021, 3:14pm UTC](https://forums.unrealengine.com/t/get-country-by-ip/245184 "2021-08-12T15:14:52Z")

</div>

Hello, I am trying to create a server search list and I would like the server list to automatically detect the server region or country by the IP address, I know that is possible but I’m not sure how that is done, does a…

---

## [Command to begin PIE?](https://forums.unrealengine.com/t/command-to-begin-pie/222230)

<div class="topic-metadata">

**Author:** [@HeydoubleU](https://forums.unrealengine.com/u/HeydoubleU)\
**Replies:** 1\
**Last updated:** [August 11, 2021, 4:08am UTC](https://forums.unrealengine.com/t/command-to-begin-pie/222230 "2021-08-11T04:08:47Z")

</div>

I’m working on an editor utility widget and I’d like this button to do its thing and then begin PIE, as if the ‘play this level’ button or ‘alt+p’ was pressed. Closest thing I’ve found is a node called ‘Editor Play Simul…

---

## [Start game with Python command](https://forums.unrealengine.com/t/start-game-with-python-command/225527)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7eede178](https://forums.unrealengine.com/u/anonymous_user_7eede178)\
**Replies:** 1\
**Last updated:** [August 11, 2021, 4:07am UTC](https://forums.unrealengine.com/t/start-game-with-python-command/225527 "2021-08-11T04:07:57Z")

</div>

Hello everyone, I am still exploring the Unreal Editor in Python and now I want to start the game in the editor, automated by Python. So I am looking for a Python command which has the same effect like clicking on the b…

---

## [fill\_data\_table\_from\_json\_string calls CSV parser instead of JSON parser](https://forums.unrealengine.com/t/fill_data_table_from_json_string-calls-csv-parser-instead-of-json-parser/155898)

<div class="topic-metadata">

**Author:** [@jonhallur](https://forums.unrealengine.com/u/jonhallur)\
**Replies:** 1\
**Last updated:** [August 11, 2021, 3:51am UTC](https://forums.unrealengine.com/t/fill_data_table_from_json_string-calls-csv-parser-instead-of-json-parser/155898 "2021-08-11T03:51:10Z")

</div>

using unreal.DataTableFunctionLibrary In found out that if I pass JSON data to the fill\_data\_table\_from\_json\_string function, it will respond with an error coming from the CSV parser. Tried passing it a CSV string and …

---

## [How to enable delay in python script instead of time.sleep(t)](https://forums.unrealengine.com/t/how-to-enable-delay-in-python-script-instead-of-time-sleep-t/149513)

<div class="topic-metadata">

**Author:** [@shenron](https://forums.unrealengine.com/u/shenron)\
**Replies:** 3\
**Last updated:** [August 11, 2021, 3:49am UTC](https://forums.unrealengine.com/t/how-to-enable-delay-in-python-script-instead-of-time-sleep-t/149513 "2021-08-11T03:49:21Z")

</div>

Hi , I would like to call a function after specific duration. My python script runs at start of project. The need is that I need to call some functions once a file has been created at specific location. All of this duri…

---

## [\[Android\] UE4Game folder is not created with Target SDK version set to 24](https://forums.unrealengine.com/t/android-ue4game-folder-is-not-created-with-target-sdk-version-set-to-24/380805)

<div class="topic-metadata">

**Author:** [@aussieburger](https://forums.unrealengine.com/u/aussieburger)\
**Replies:** 5\
**Last updated:** [August 10, 2021, 5:25pm UTC](https://forums.unrealengine.com/t/android-ue4game-folder-is-not-created-with-target-sdk-version-set-to-24/380805 "2021-08-10T17:25:26Z")

</div>

Took me a while of hair ripping to figure this one out but if you set the Target SDK version to 24 then on the android device the UE4Game folder is not created at all and as a result you cannot create any save games. I …

---

## [Python: how to merge/export the actor to fbx](https://forums.unrealengine.com/t/python-how-to-merge-export-the-actor-to-fbx/487157)

<div class="topic-metadata">

**Author:** [@Tony\_Nguyen\_Chi](https://forums.unrealengine.com/u/Tony_Nguyen_Chi)\
**Replies:** 0\
**Last updated:** [August 9, 2021, 10:19pm UTC](https://forums.unrealengine.com/t/python-how-to-merge-export-the-actor-to-fbx/487157 "2021-08-09T22:19:04Z")

</div>

I can use “Merge Actor” and then “Asset Actions \\ Export” to export an actor to .fbx (not StaticMeshActor) Now, I don’t know how I can do with python. Thanks. (I can merge and export with StaticMeshActor)

---

## [Save user edited text boxes?](https://forums.unrealengine.com/t/save-user-edited-text-boxes/486970)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ca957b851](https://forums.unrealengine.com/u/anonymous_user_ca957b851)\
**Replies:** 5\
**Last updated:** [August 9, 2021, 10:15pm UTC](https://forums.unrealengine.com/t/save-user-edited-text-boxes/486970 "2021-08-09T22:15:13Z")

</div>

If I place an editable text box then type something into it, how do I get the text to stay when I save then reload the save? When I try to save and reload, the text box will remain, but the text inside it will disappear.…

[Previous page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=30)

[Next page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=32)
