# Editor Scripting

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

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

**Page:** 47

---

## [Get Material Slot Name for Static Mesh](https://forums.unrealengine.com/t/get-material-slot-name-for-static-mesh/145674)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cfc18edb](https://forums.unrealengine.com/u/anonymous_user_cfc18edb)\
**Replies:** 3\
**Last updated:** [September 15, 2020, 10:13pm UTC](https://forums.unrealengine.com/t/get-material-slot-name-for-static-mesh/145674 "2020-09-15T22:13:37Z")

</div>

Hello, I’m currently using a python script to import an fbx and create a Static Mesh. My current asset I’m testing has 4 materials, which have the correct slot name, but the actual material name gets set to “WorldGameM…

---

## [Add Level Through Python](https://forums.unrealengine.com/t/add-level-through-python/150727)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cfc18edb](https://forums.unrealengine.com/u/anonymous_user_cfc18edb)\
**Replies:** 0\
**Last updated:** [September 15, 2020, 10:10pm UTC](https://forums.unrealengine.com/t/add-level-through-python/150727 "2020-09-15T22:10:59Z")

</div>

Hello, I currently have a python script which creates a persistent level and spawns skeletal mesh actors into it, but I would like to add a sub level. When I open the “Levels” window, there’s an “Add Existing…” option.…

---

## [blueprint variable broken, even in fresh template](https://forums.unrealengine.com/t/blueprint-variable-broken-even-in-fresh-template/471376)

<div class="topic-metadata">

**Author:** [@Nino\_Mancuso](https://forums.unrealengine.com/u/Nino_Mancuso)\
**Replies:** 5\
**Last updated:** [September 15, 2020, 8:31pm UTC](https://forums.unrealengine.com/t/blueprint-variable-broken-even-in-fresh-template/471376 "2020-09-15T20:31:36Z")

</div>

I’ve got a blueprint in an nDisplay template known as the Vitalii v1 template. In the BP\_IncameraSettings blueprint there’s a variable called StageSettings: It seems to reference some Engine content C++ file. For so…

---

## [Selectable object field in blueprint editor widget](https://forums.unrealengine.com/t/selectable-object-field-in-blueprint-editor-widget/148275)

<div class="topic-metadata">

**Author:** [@JingleSpell](https://forums.unrealengine.com/u/JingleSpell)\
**Replies:** 1\
**Last updated:** [September 15, 2020, 4:59pm UTC](https://forums.unrealengine.com/t/selectable-object-field-in-blueprint-editor-widget/148275 "2020-09-15T16:59:29Z")

</div>

Hi everyone ! I’d like to add an object field widget to my custom editor utility bp, where you could reference an object from project assets or scene of a given type/class. (Example attached) I can’t find such thing in…

---

## [How to create Automated Asset Import Data (blueprint widget utilities)](https://forums.unrealengine.com/t/how-to-create-automated-asset-import-data-blueprint-widget-utilities/133179)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_17080fd8](https://forums.unrealengine.com/u/anonymous_user_17080fd8)\
**Replies:** 4\
**Last updated:** [September 15, 2020, 4:47pm UTC](https://forums.unrealengine.com/t/how-to-create-automated-asset-import-data-blueprint-widget-utilities/133179 "2020-09-15T16:47:51Z")

</div>

Hi all, I’m creating some tools for importing assets automatically through blueprints (FBX meshes, FBX animation and Alembics). I’m getting totally stuck on how to create Automated Asset Import Data for the Asset Tools …

---

## [Open an Unreal native window from editor utility widget](https://forums.unrealengine.com/t/open-an-unreal-native-window-from-editor-utility-widget/150512)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b1519942](https://forums.unrealengine.com/u/anonymous_user_b1519942)\
**Replies:** 1\
**Last updated:** [September 15, 2020, 11:46am UTC](https://forums.unrealengine.com/t/open-an-unreal-native-window-from-editor-utility-widget/150512 "2020-09-15T11:46:40Z")

</div>

I want a way to open or focus on a native unreal tab when pushing a button in a editor utility widget. For example, when I click a button the project settings or the plugins window should open. I haven’t been able to fi…

---

## [Python batching script " source lightmap index" actor property?](https://forums.unrealengine.com/t/python-batching-script-source-lightmap-index-actor-property/150628)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_42ac75ca](https://forums.unrealengine.com/u/anonymous_user_42ac75ca)\
**Replies:** 0\
**Last updated:** [September 13, 2020, 4:23pm UTC](https://forums.unrealengine.com/t/python-batching-script-source-lightmap-index-actor-property/150628 "2020-09-13T16:23:24Z")

</div>

I am looping through all actors in a map, and able change actor properties such as “light map resolution, light map coordinate index” through script, but having difficulty accessing the " source lightmap index property…

---

## [Server Travel Command Crash](https://forums.unrealengine.com/t/server-travel-command-crash/150621)

<div class="topic-metadata">

**Author:** [@DETERMINATOR20](https://forums.unrealengine.com/u/DETERMINATOR20)\
**Replies:** 0\
**Last updated:** [September 13, 2020, 10:59am UTC](https://forums.unrealengine.com/t/server-travel-command-crash/150621 "2020-09-13T10:59:26Z")

</div>

Hello everyone, I’m currently following Unreal Engine’s Blueprint Multiplayer Tutorials and have got to episode 15 where they integrated a ‘launching the game’ function. They do this using the command ‘servertravel’. For…

---

## [issues with AddUnique and arrays](https://forums.unrealengine.com/t/issues-with-addunique-and-arrays/471174)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_04b5ac74](https://forums.unrealengine.com/u/anonymous_user_04b5ac74)\
**Replies:** 3\
**Last updated:** [September 12, 2020, 7:19am UTC](https://forums.unrealengine.com/t/issues-with-addunique-and-arrays/471174 "2020-09-12T07:19:19Z")

</div>

This is giving me errors only when i add CharacterHitResult.AddUnique(HitCharac) TArray\<FHitResult\> HitResult; TArray\<AShooterCharacter\> CharacterHitResult; for (const FHitResult& LoopHitResult : HitResult) { AShoo…

---

## [Is it possible to save everything using save objects and load it all?](https://forums.unrealengine.com/t/is-it-possible-to-save-everything-using-save-objects-and-load-it-all/471186)

<div class="topic-metadata">

**Author:** [@Thecooldude148](https://forums.unrealengine.com/u/Thecooldude148)\
**Replies:** 2\
**Last updated:** [September 11, 2020, 6:50pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-save-everything-using-save-objects-and-load-it-all/471186 "2020-09-11T18:50:25Z")

</div>

I’ve seen multiple games that have to save and load features using ue4, I can tell there’s just so many things to save, but is it possible to make it easier by somehow automatically saving every change that happened, and…

---

## [Save and load levels?](https://forums.unrealengine.com/t/save-and-load-levels/471039)

<div class="topic-metadata">

**Author:** [@Thecooldude148](https://forums.unrealengine.com/u/Thecooldude148)\
**Replies:** 16\
**Last updated:** [September 10, 2020, 6:58pm UTC](https://forums.unrealengine.com/t/save-and-load-levels/471039 "2020-09-10T18:58:58Z")

</div>

I tried for some time and played around with the saving and loading stuff in ue4. I want to have the save object to save the current level the player it on, when they exit the game, they get into the menu and they press …

---

## [WITHOUT TIMELINES. Is it possible to turn the speed from a finterp to a duration?](https://forums.unrealengine.com/t/without-timelines-is-it-possible-to-turn-the-speed-from-a-finterp-to-a-duration/471089)

<div class="topic-metadata">

**Author:** [@zSSkitzz](https://forums.unrealengine.com/u/zSSkitzz)\
**Replies:** 9\
**Last updated:** [September 10, 2020, 3:42pm UTC](https://forums.unrealengine.com/t/without-timelines-is-it-possible-to-turn-the-speed-from-a-finterp-to-a-duration/471089 "2020-09-10T15:42:20Z")

</div>

Is it possible to calculate the speed to a duration, for example using a finterp node I want it to last x seconds. If so how may I achieve this? NOT WITH TIMELINES, I’m using this for a blueprint that doesn’t support tim…

---

## [How to keep PIE settings for packaged builds?](https://forums.unrealengine.com/t/how-to-keep-pie-settings-for-packaged-builds/471108)

<div class="topic-metadata">

**Author:** [@twinsynth](https://forums.unrealengine.com/u/twinsynth)\
**Replies:** 1\
**Last updated:** [September 10, 2020, 7:33am UTC](https://forums.unrealengine.com/t/how-to-keep-pie-settings-for-packaged-builds/471108 "2020-09-10T07:33:13Z")

</div>

I’m having an issue with savegames not working properly on the packaged build, hence with my troubleshooting, I realised a lot of things don’t work the same compared to how it works on the PIE- in the PIE, i can execut…

---

## [HELP! Interp to Movement Component](https://forums.unrealengine.com/t/help-interp-to-movement-component/327820)

<div class="topic-metadata">

**Author:** [@PxRx0xDxIxGxY](https://forums.unrealengine.com/u/PxRx0xDxIxGxY)\
**Replies:** 5\
**Last updated:** [September 9, 2020, 7:55pm UTC](https://forums.unrealengine.com/t/help-interp-to-movement-component/327820 "2020-09-09T19:55:59Z")

</div>

My Interp to Movement Component does not seem to work how its supposed to. As per the instructions listed by Tim Hobson here: The new "Interpolate To" Movement Component - Debugging, Optimization, & Profiling - Unreal En…

---

## [Detecting drag and drop on editor with Python or Editor widgets](https://forums.unrealengine.com/t/detecting-drag-and-drop-on-editor-with-python-or-editor-widgets/150463)

<div class="topic-metadata">

**Author:** [@lobachevscki](https://forums.unrealengine.com/u/lobachevscki)\
**Replies:** 0\
**Last updated:** [September 9, 2020, 1:49pm UTC](https://forums.unrealengine.com/t/detecting-drag-and-drop-on-editor-with-python-or-editor-widgets/150463 "2020-09-09T13:49:17Z")

</div>

Hi! hope you are well. I would like to create a custom import functionality using the Python API (or ideally with it). I would like for artist to be able to drag and drop from the computer to the content browser, but in…

---

## [Which path to follow for a very simple map editor](https://forums.unrealengine.com/t/which-path-to-follow-for-a-very-simple-map-editor/150429)

<div class="topic-metadata">

**Author:** [@Driky](https://forums.unrealengine.com/u/Driky)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 10:08pm UTC](https://forums.unrealengine.com/t/which-path-to-follow-for-a-very-simple-map-editor/150429 "2020-09-08T22:08:34Z")

</div>

Hello, I’m looking to make a very simple map editor for a small leaning project. The map are fairly simple, 3 dimensional array where each coordinates can be either empty or an instanced static mesh. I’m wondering if I …

---

## [Blueprint node Set Material for Skeletal Meshes](https://forums.unrealengine.com/t/blueprint-node-set-material-for-skeletal-meshes/223680)

<div class="topic-metadata">

**Author:** [@JustUnfriendly](https://forums.unrealengine.com/u/JustUnfriendly)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 3:13pm UTC](https://forums.unrealengine.com/t/blueprint-node-set-material-for-skeletal-meshes/223680 "2020-09-08T15:13:07Z")

</div>

I’m trying to create an import widget that includes setting a material to the imported mesh. There is a Blueprint node “Set Material” that does exactly what I need, except it’s only for static meshes. There is no equival…

---

## [UClass to Json](https://forums.unrealengine.com/t/uclass-to-json/470992)

<div class="topic-metadata">

**Author:** [@FlipFlopJon93](https://forums.unrealengine.com/u/FlipFlopJon93)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 10:53pm UTC](https://forums.unrealengine.com/t/uclass-to-json/470992 "2020-09-07T22:53:30Z")

</div>

Hello, I’m trying to write all UProperties of UClass to a Json FString, but I can’t find a method to do this. Ideally, it would be great if there was a method similar to what you can do with UStruct’s with FJsonObjectC…

---

## [Web Remote Control crashed In standard 4.25.3](https://forums.unrealengine.com/t/web-remote-control-crashed-in-standard-4-25-3/150339)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e97b045f](https://forums.unrealengine.com/u/anonymous_user_e97b045f)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 9:07am UTC](https://forums.unrealengine.com/t/web-remote-control-crashed-in-standard-4-25-3/150339 "2020-09-07T09:07:58Z")

</div>

Hi. I wanted to use the Web Remote Control, but every time I use WebControl.StopServer, the editor crashes. Anyone can replicate this? Maybe I am missing something? This is the log of the crash: Assertion failed: List…

---

## [How to tell if an actor has a negative rotation?](https://forums.unrealengine.com/t/how-to-tell-if-an-actor-has-a-negative-rotation/150117)

<div class="topic-metadata">

**Author:** [@somawheels](https://forums.unrealengine.com/u/somawheels)\
**Replies:** 7\
**Last updated:** [September 6, 2020, 9:00pm UTC](https://forums.unrealengine.com/t/how-to-tell-if-an-actor-has-a-negative-rotation/150117 "2020-09-06T21:00:33Z")

</div>

How can I tell if the actor has a negative rotation in blueprints?

---

## [2 Questions about AI](https://forums.unrealengine.com/t/2-questions-about-ai/150170)

<div class="topic-metadata">

**Author:** [@Shabalaka](https://forums.unrealengine.com/u/Shabalaka)\
**Replies:** 1\
**Last updated:** [September 5, 2020, 5:56am UTC](https://forums.unrealengine.com/t/2-questions-about-ai/150170 "2020-09-05T05:56:19Z")

</div>

Hi, I have been doing UE4 for about a month or so now and have started to delve into doing some AI characters but am finding it difficult to understand which is the best way to do things so I thought I would ask people …

---

## [Pass-by-reference Inputs - "set by ref" Nodes Missing](https://forums.unrealengine.com/t/pass-by-reference-inputs-set-by-ref-nodes-missing/308985)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_15dd2896](https://forums.unrealengine.com/u/anonymous_user_15dd2896)\
**Replies:** 5\
**Last updated:** [September 3, 2020, 8:21pm UTC](https://forums.unrealengine.com/t/pass-by-reference-inputs-set-by-ref-nodes-missing/308985 "2020-09-03T20:21:35Z")

</div>

I’m trying to pass some input variables to a function as references, but the “set by ref” nodes aren’t showing up when I try to change the variables’ values as described here: I have “Context Sensitive” turned off just …

---

## [\[4.10.2\] Construction Script variables can only be edited when they are exposed.](https://forums.unrealengine.com/t/4-10-2-construction-script-variables-can-only-be-edited-when-they-are-exposed/345432)

<div class="topic-metadata">

**Author:** [@iUltimateLP](https://forums.unrealengine.com/u/iUltimateLP)\
**Replies:** 9\
**Last updated:** [September 3, 2020, 1:55am UTC](https://forums.unrealengine.com/t/4-10-2-construction-script-variables-can-only-be-edited-when-they-are-exposed/345432 "2020-09-03T01:55:28Z")

</div>

I found a bug today when using the construction script inside my blueprint. If you have a variable, string for example, you can’t set it from the construction script unless it is set to be “Editable”, which also exposes …

---

## [Get Imported Asset Source Path Inside Editor Widget](https://forums.unrealengine.com/t/get-imported-asset-source-path-inside-editor-widget/150051)

<div class="topic-metadata">

**Author:** [@JustUnfriendly](https://forums.unrealengine.com/u/JustUnfriendly)\
**Replies:** 0\
**Last updated:** [August 31, 2020, 6:37pm UTC](https://forums.unrealengine.com/t/get-imported-asset-source-path-inside-editor-widget/150051 "2020-08-31T18:37:18Z")

</div>

Is there a way to get a source path to an imported asset inside of an editor widget? I’m trying to create an editor widget that can import an FBX, then related textures, create a material, then put it all together. To a…

---

## [Crash on opening other map](https://forums.unrealengine.com/t/crash-on-opening-other-map/150036)

<div class="topic-metadata">

**Author:** [@Hakri](https://forums.unrealengine.com/u/Hakri)\
**Replies:** 0\
**Last updated:** [August 31, 2020, 1:25pm UTC](https://forums.unrealengine.com/t/crash-on-opening-other-map/150036 "2020-08-31T13:25:07Z")

</div>

Hello, I get editor crash while opening any map different from startup map after Editor Utility Object script run its Run event. This event is spawning some actor class. When I try to open some other map, editor crashes…

---

## [Loading save game variables after quitting and reloading the game](https://forums.unrealengine.com/t/loading-save-game-variables-after-quitting-and-reloading-the-game/469928)

<div class="topic-metadata">

**Author:** [@GabeOrlandelli](https://forums.unrealengine.com/u/GabeOrlandelli)\
**Replies:** 8\
**Last updated:** [August 31, 2020, 12:13am UTC](https://forums.unrealengine.com/t/loading-save-game-variables-after-quitting-and-reloading-the-game/469928 "2020-08-31T00:13:21Z")

</div>

So I seem to be having an issue with loading up certain variables that control my level select feature after quitting and reloading the game that’s been deployed. So here is the part of my Game Mode that executes shortly…

---

## [Welcome to the Game, Breather Minigame](https://forums.unrealengine.com/t/welcome-to-the-game-breather-minigame/150013)

<div class="topic-metadata">

**Author:** [@Ivan\_Overdrive](https://forums.unrealengine.com/u/Ivan_Overdrive)\
**Replies:** 0\
**Last updated:** [August 30, 2020, 11:36pm UTC](https://forums.unrealengine.com/t/welcome-to-the-game-breather-minigame/150013 "2020-08-30T23:36:39Z")

</div>

I don’t know if this is the right place to ask but. Anyone know how to make something like this minigame?. A youtube guide to something similar would be awesome :). Best regards

---

## [ARPGSavegame versioning system not understood](https://forums.unrealengine.com/t/arpgsavegame-versioning-system-not-understood/470484)

<div class="topic-metadata">

**Author:** [@ergin](https://forums.unrealengine.com/u/ergin)\
**Replies:** 0\
**Last updated:** [August 29, 2020, 3:13am UTC](https://forums.unrealengine.com/t/arpgsavegame-versioning-system-not-understood/470484 "2020-08-29T03:13:50Z")

</div>

Hello, I simply couldn’t undestand ARPGSavegame code. It mensions about versioning and fixup code. Although I did understand the concept of versioning, the necessity and reasoning of it, I couldn’t undestand the code , …

---

## [Game crashes when saving to slot](https://forums.unrealengine.com/t/game-crashes-when-saving-to-slot/470417)

<div class="topic-metadata">

**Author:** [@ldragosl](https://forums.unrealengine.com/u/ldragosl)\
**Replies:** 5\
**Last updated:** [August 27, 2020, 5:04pm UTC](https://forums.unrealengine.com/t/game-crashes-when-saving-to-slot/470417 "2020-08-27T17:04:44Z")

</div>

Hi, so my game sometimes crashes when i save the game. This only happens only once in 20-30 tries but it’s still too frequent for me to ignore it. Any ideea what could go wrong and what can i do to fix it? I even tryed u…

---

## [Variable doesn't seem to save when called in level](https://forums.unrealengine.com/t/variable-doesnt-seem-to-save-when-called-in-level/470362)

<div class="topic-metadata">

**Author:** [@Twitchy2](https://forums.unrealengine.com/u/Twitchy2)\
**Replies:** 3\
**Last updated:** [August 26, 2020, 8:39pm UTC](https://forums.unrealengine.com/t/variable-doesnt-seem-to-save-when-called-in-level/470362 "2020-08-26T20:39:52Z")

</div>

Ill keep it short and to the point because I have absolutely no clue why this is happening https://puu.sh/GlYPF/845b20f0db.png Above is the code that I have been using to load things, this specifically in the main menu…

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

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