# Editor Scripting

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

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

**Page:** 36

---

## [Vinterp not working](https://forums.unrealengine.com/t/vinterp-not-working/483696)

<div class="topic-metadata">

**Author:** [@BatYaggy](https://forums.unrealengine.com/u/BatYaggy)\
**Replies:** 3\
**Last updated:** [May 21, 2021, 6:36am UTC](https://forums.unrealengine.com/t/vinterp-not-working/483696 "2021-05-21T06:36:07Z")

</div>

I am trying to make a character VInterp into the air (about 400). The variable “Dash Goal” displays the correct vector which is in the air (verified by print string the z value is 400)). For some reason instead of being …

---

## [how to edit skeletal mesh component in Blueprint via python?](https://forums.unrealengine.com/t/how-to-edit-skeletal-mesh-component-in-blueprint-via-python/155896)

<div class="topic-metadata">

**Author:** [@WoodenAX](https://forums.unrealengine.com/u/WoodenAX)\
**Replies:** 6\
**Last updated:** [May 20, 2021, 1:09am UTC](https://forums.unrealengine.com/t/how-to-edit-skeletal-mesh-component-in-blueprint-via-python/155896 "2021-05-20T01:09:36Z")

</div>

Hi guys I 've created blueprint in the content and try to edit the skeletal mesh , I tried get\_component\_by\_class but it gives me empty array, here is my code: bp\_gc= ue.EditorAssetLibrary.load\_blueprint\_class("/Game/De…

---

## [Does the iOS Load Game From Slot folder change?](https://forums.unrealengine.com/t/does-the-ios-load-game-from-slot-folder-change/483260)

<div class="topic-metadata">

**Author:** [@JohnKentFX](https://forums.unrealengine.com/u/JohnKentFX)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 10:52pm UTC](https://forums.unrealengine.com/t/does-the-ios-load-game-from-slot-folder-change/483260 "2021-05-19T22:52:29Z")

</div>

I have a game that saves and loads games from slot. I am attempting to store those .sav files online as backups rather than have them live solely on the device. Thus I need to be able to download and save those files to …

---

## [Using override\_materials with skeletal mesh component?](https://forums.unrealengine.com/t/using-override-materials-with-skeletal-mesh-component/230042)

<div class="topic-metadata">

**Author:** [@uced](https://forums.unrealengine.com/u/uced)\
**Replies:** 1\
**Last updated:** [May 19, 2021, 5:01pm UTC](https://forums.unrealengine.com/t/using-override-materials-with-skeletal-mesh-component/230042 "2021-05-19T17:01:09Z")

</div>

Hi, I’m trying to replace some materials in a skeletal mesh component using the new UE4 python plugin. I can get the component and even display the name of the skeletal mesh all right, so i’m sure i work with the right…

---

## [Blueprint Class as Variable](https://forums.unrealengine.com/t/blueprint-class-as-variable/483394)

<div class="topic-metadata">

**Author:** [@DemonBismuth](https://forums.unrealengine.com/u/DemonBismuth)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 1:09am UTC](https://forums.unrealengine.com/t/blueprint-class-as-variable/483394 "2021-05-18T01:09:49Z")

</div>

I have a Blueprint actor that wants to spawn another type of actor. In Unity, I could just say public SpawnedClass prefab, and then drag and drop that prefab from the project browser into the variable. However, in Unreal…

---

## [Sequencer event firing in Level blueprint](https://forums.unrealengine.com/t/sequencer-event-firing-in-level-blueprint/229796)

<div class="topic-metadata">

**Author:** [@Chuggyfreeze](https://forums.unrealengine.com/u/Chuggyfreeze)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 7:23pm UTC](https://forums.unrealengine.com/t/sequencer-event-firing-in-level-blueprint/229796 "2021-05-17T19:23:56Z")

</div>

Hey all, The team I’ve recently joined is currently on Version 4.25 where I’m now learning Sequencer after using Matinee for quite some time. In Matinee’s you could create an Event track and have a direct manager for t…

---

## [add existing sub-level by python in UE4.25](https://forums.unrealengine.com/t/add-existing-sub-level-by-python-in-ue4-25/483492)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_67718b911](https://forums.unrealengine.com/u/anonymous_user_67718b911)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 10:34am UTC](https://forums.unrealengine.com/t/add-existing-sub-level-by-python-in-ue4-25/483492 "2021-05-17T10:34:48Z")

</div>

I’m trying to load a sublevel into the current level in python, but I don’t know how. I found this article and tried it, but I get the following error message. world = unreal.EditorLevelLibrary.get\_editor\_world() leve…

---

## [Best way to add mesh on the map with a command](https://forums.unrealengine.com/t/best-way-to-add-mesh-on-the-map-with-a-command/228821)

<div class="topic-metadata">

**Author:** [@Cobiyyy](https://forums.unrealengine.com/u/Cobiyyy)\
**Replies:** 5\
**Last updated:** [May 16, 2021, 9:32pm UTC](https://forums.unrealengine.com/t/best-way-to-add-mesh-on-the-map-with-a-command/228821 "2021-05-16T21:32:10Z")

</div>

Hi, i am looking for a way to add a static mesh on the map with a command by stating its name its location and rotation like example: add mesh\_name 200,10,0 0,0,0 would add the mesh at the location with the rotation. W…

---

## [Custom event variable replication problem](https://forums.unrealengine.com/t/custom-event-variable-replication-problem/483387)

<div class="topic-metadata">

**Author:** [@Kill3rPT](https://forums.unrealengine.com/u/Kill3rPT)\
**Replies:** 4\
**Last updated:** [May 15, 2021, 2:11pm UTC](https://forums.unrealengine.com/t/custom-event-variable-replication-problem/483387 "2021-05-15T14:11:58Z")

</div>

Hi, I have a system for picking up and dropping items, in which I have a problem when I pick up the item after dropping it. When I pick up the item from the floor for the first time (item that is already in the world) b…

---

## [Save Game Cable connections or power system](https://forums.unrealengine.com/t/save-game-cable-connections-or-power-system/483406)

<div class="topic-metadata">

**Author:** [@Blockout22](https://forums.unrealengine.com/u/Blockout22)\
**Replies:** 1\
**Last updated:** [May 15, 2021, 11:46am UTC](https://forums.unrealengine.com/t/save-game-cable-connections-or-power-system/483406 "2021-05-15T11:46:54Z")

</div>

I have setup a prototype building game that allows me to place actors in the world using a keybind, I can successfully save and load the actor with it’s location and data when needed but what I can’t figure out is how I …

---

## [issue  with instantiating AssetTool class from unreal python module](https://forums.unrealengine.com/t/issue-with-instantiating-assettool-class-from-unreal-python-module/477277)

<div class="topic-metadata">

**Author:** [@dtafaro](https://forums.unrealengine.com/u/dtafaro)\
**Replies:** 1\
**Last updated:** [May 14, 2021, 9:30pm UTC](https://forums.unrealengine.com/t/issue-with-instantiating-assettool-class-from-unreal-python-module/477277 "2021-05-14T21:30:52Z")

</div>

I’m trying to use the following code to create a sequence in UE using python: new\_sequence = unreal.AssetTools().create\_asset(‘testSequence’, ‘/Game/Cinematics/’, unreal.LevelSequence, unreal.LevelSequenceFactoryNew) u…

---

## [How to get UE4 to print the path of the Slot Folder?](https://forums.unrealengine.com/t/how-to-get-ue4-to-print-the-path-of-the-slot-folder/483288)

<div class="topic-metadata">

**Author:** [@JohnKentFX](https://forums.unrealengine.com/u/JohnKentFX)\
**Replies:** 0\
**Last updated:** [May 12, 2021, 8:43pm UTC](https://forums.unrealengine.com/t/how-to-get-ue4-to-print-the-path-of-the-slot-folder/483288 "2021-05-12T20:43:33Z")

</div>

I am trying to figure out where to store downloaded files and it seems the LoadGameFromSlot folder changes when packaged for shipping on iOS. I have tried using the “PersistentDataDownload” & “SaveGameDirectory” paths bu…

---

## [i cant fill actor object reference values in my level](https://forums.unrealengine.com/t/i-cant-fill-actor-object-reference-values-in-my-level/483278)

<div class="topic-metadata">

**Author:** [@ArthurDunesme](https://forums.unrealengine.com/u/ArthurDunesme)\
**Replies:** 4\
**Last updated:** [May 12, 2021, 6:17pm UTC](https://forums.unrealengine.com/t/i-cant-fill-actor-object-reference-values-in-my-level/483278 "2021-05-12T18:17:37Z")

</div>

i think it might be a bug because i encounter this issue only in one of my levels. i make a simple actor with an actor object reference variable, and unreal wont let me put any actor in it despite the fact the actors are…

---

## [Python code to reimport asset](https://forums.unrealengine.com/t/python-code-to-reimport-asset/211112)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b7cc87c6](https://forums.unrealengine.com/u/anonymous_user_b7cc87c6)\
**Replies:** 6\
**Last updated:** [May 12, 2021, 4:40pm UTC](https://forums.unrealengine.com/t/python-code-to-reimport-asset/211112 "2021-05-12T16:40:30Z")

</div>

I already have a alembic loaded in unreal. Can anyone help me with a python code to reimport alembic file in unreal.

---

## [Android "Use ExternalFilesDir for UE4GameFiles" makes SaveGame files invisible to user](https://forums.unrealengine.com/t/android-use-externalfilesdir-for-ue4gamefiles-makes-savegame-files-invisible-to-user/479829)

<div class="topic-metadata">

**Author:** [@Tim\_Arterbury](https://forums.unrealengine.com/u/Tim_Arterbury)\
**Replies:** 4\
**Last updated:** [May 12, 2021, 1:09pm UTC](https://forums.unrealengine.com/t/android-use-externalfilesdir-for-ue4gamefiles-makes-savegame-files-invisible-to-user/479829 "2021-05-12T13:09:18Z")

</div>

When I check the checkbox “Use ExternalFilesDir for UE4Game files?” for my Android app, shipping build, deployed to an Android API 25 platform (Oculus Quest), my app is able to successfully save/load UE4 SaveGame files, B…

---

## [Undo Python Script](https://forums.unrealengine.com/t/undo-python-script/122308)

<div class="topic-metadata">

**Author:** [@SebaSopp](https://forums.unrealengine.com/u/SebaSopp)\
**Replies:** 9\
**Last updated:** [May 10, 2021, 11:52am UTC](https://forums.unrealengine.com/t/undo-python-script/122308 "2021-05-10T11:52:12Z")

</div>

The description here seems very clearly, but my test code is not working. The undo entry “My Transaction Test” is in the Undo-History, but it is not undoing the translation. Anyone can help? import unreal actors = unr…

---

## [Fastest way to browse through many "unsorted" assets in the editor?](https://forums.unrealengine.com/t/fastest-way-to-browse-through-many-unsorted-assets-in-the-editor/211084)

<div class="topic-metadata">

**Author:** [@skunkiferous](https://forums.unrealengine.com/u/skunkiferous)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 11:44am UTC](https://forums.unrealengine.com/t/fastest-way-to-browse-through-many-unsorted-assets-in-the-editor/211084 "2021-05-10T11:44:21Z")

</div>

I’ve imported a ton of assets, and I’d now like to go through them as fast as possible, bc there are so many. Something where I could “classify” each asset in one click, and move to the next. What is the easiest way to p…

---

## [Modify PirmaryDataAsset Subclass Via Python](https://forums.unrealengine.com/t/modify-pirmarydataasset-subclass-via-python/212203)

<div class="topic-metadata">

**Author:** [@PrettyTrue](https://forums.unrealengine.com/u/PrettyTrue)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 11:26am UTC](https://forums.unrealengine.com/t/modify-pirmarydataasset-subclass-via-python/212203 "2021-05-10T11:26:12Z")

</div>

I have a subclass of UPrimaryDataAsset and have created various blueprints of the class within in the editor. class GAME\_API UMyItemClass : public UPrimaryDataAsset { # .... } I’m wondering if there’s a means of ed…

---

## [Movie render queue - Render out as mov](https://forums.unrealengine.com/t/movie-render-queue-render-out-as-mov/228604)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b7cc87c6](https://forums.unrealengine.com/u/anonymous_user_b7cc87c6)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 7:11am UTC](https://forums.unrealengine.com/t/movie-render-queue-render-out-as-mov/228604 "2021-05-10T07:11:25Z")

</div>

I saw this code to change the output format. job.get\_configuration().find\_or\_add\_setting\_by\_class(unreal.MoviePipelineImageSequenceOutput\_PNG) Is there a way to render out as mov or other movie formats?

---

## [Movie render queue - use saved preset for render settings](https://forums.unrealengine.com/t/movie-render-queue-use-saved-preset-for-render-settings/228603)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b7cc87c6](https://forums.unrealengine.com/u/anonymous_user_b7cc87c6)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 7:10am UTC](https://forums.unrealengine.com/t/movie-render-queue-use-saved-preset-for-render-settings/228603 "2021-05-10T07:10:33Z")

</div>

I was trying to create a tool that will render the level sequence using render queue. I am able to change the render settings using: job = NewQueue.get\_jobs() job\[0\].get\_configuration().find\_or\_add\_setting\_by\_class(un…

---

## [Load plugin python script](https://forums.unrealengine.com/t/load-plugin-python-script/211887)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b7cc87c6](https://forums.unrealengine.com/u/anonymous_user_b7cc87c6)\
**Replies:** 4\
**Last updated:** [May 10, 2021, 4:43am UTC](https://forums.unrealengine.com/t/load-plugin-python-script/211887 "2021-05-10T04:43:38Z")

</div>

Is there a way to enable/load plugin through python code? I was trying to enable ‘python editor script plugin’ and ‘sequencer scripting’. thanks

---

## [Save game not working in packaged build](https://forums.unrealengine.com/t/save-game-not-working-in-packaged-build/302210)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_daca9558](https://forums.unrealengine.com/u/anonymous_user_daca9558)\
**Replies:** 6\
**Last updated:** [May 8, 2021, 7:47pm UTC](https://forums.unrealengine.com/t/save-game-not-working-in-packaged-build/302210 "2021-05-08T19:47:31Z")

</div>

Hello All, After some extensive trial and error, I finally got save games working in my game. During the game, I have it setup to only save data after the level has been finished. It works perfectly when I Play in Edito…

---

## [Editor scripting + input event](https://forums.unrealengine.com/t/editor-scripting-input-event/228241)

<div class="topic-metadata">

**Author:** [@UnrealFree](https://forums.unrealengine.com/u/UnrealFree)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 8:01pm UTC](https://forums.unrealengine.com/t/editor-scripting-input-event/228241 "2021-05-07T20:01:42Z")

</div>

Hello everybody! I started writing a tile editor using the Editor utility widget. I figured out how to get the coordinate in the viewport using getlevelviewportcamerainfo, the problem remains how to catch the input when…

---

## [Removing UPROPERTY TArray with content causes memory leak](https://forums.unrealengine.com/t/removing-uproperty-tarray-with-content-causes-memory-leak/483061)

<div class="topic-metadata">

**Author:** [@XynanXDB](https://forums.unrealengine.com/u/XynanXDB)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 3:45pm UTC](https://forums.unrealengine.com/t/removing-uproperty-tarray-with-content-causes-memory-leak/483061 "2021-05-07T15:45:42Z")

</div>

Hi, I have discovered a bug where if you remove an UPROPERTY TArray with content in C++ without manually clearing the content in editor will cause memory leak where the content of TArray will stay referenced by owner. S…

---

## [How to get reference of another actor's component without blueprints/c++](https://forums.unrealengine.com/t/how-to-get-reference-of-another-actors-component-without-blueprints-c/227948)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e6cc283a](https://forums.unrealengine.com/u/anonymous_user_e6cc283a)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 1:20pm UTC](https://forums.unrealengine.com/t/how-to-get-reference-of-another-actors-component-without-blueprints-c/227948 "2021-05-07T13:20:27Z")

</div>

So my goal is to get a reference of one of these components and put it into my structure. Is there a way to get a reference to these components without blueprints or c++? Target = Scene Component at the moment but I’…

---

## [Best way to store/access information about a level?](https://forums.unrealengine.com/t/best-way-to-store-access-information-about-a-level/482941)

<div class="topic-metadata">

**Author:** [@Decdot](https://forums.unrealengine.com/u/Decdot)\
**Replies:** 4\
**Last updated:** [May 6, 2021, 8:24am UTC](https://forums.unrealengine.com/t/best-way-to-store-access-information-about-a-level/482941 "2021-05-06T08:24:12Z")

</div>

I’m trying to figure out the most efficient way to store information about a level (name, description, thumbnail, high score, etc) so that I’m able to access and update it throughout the game. Currently I have a “Level…

---

## [actor object reference is not compatible with self object reference or with BP reference](https://forums.unrealengine.com/t/actor-object-reference-is-not-compatible-with-self-object-reference-or-with-bp-reference/482889)

<div class="topic-metadata">

**Author:** [@Froberius](https://forums.unrealengine.com/u/Froberius)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 10:35pm UTC](https://forums.unrealengine.com/t/actor-object-reference-is-not-compatible-with-self-object-reference-or-with-bp-reference/482889 "2021-05-05T22:35:24Z")

</div>

Hi i try to link an actor with a custom event from in another blueprint, last time a made a FPS it worked this way but now it seems the only solution is to hae a “cast to x” between the link. Any idea what i did wrong? b…

---

## [Permanent buff upgrades?](https://forums.unrealengine.com/t/permanent-buff-upgrades/482363)

<div class="topic-metadata">

**Author:** [@unrealredist](https://forums.unrealengine.com/u/unrealredist)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 6:07pm UTC](https://forums.unrealengine.com/t/permanent-buff-upgrades/482363 "2021-05-05T18:07:49Z")

</div>

I want to make a store that permanently upgrades buffs for example, Increase Fire rate, Projectile damage, etc, I tried… But for weeks I cannot figure out, Heres the code I was using, This is to refresh the saved ga…

---

## [Widget Displaying a text/string variable](https://forums.unrealengine.com/t/widget-displaying-a-text-string-variable/384455)

<div class="topic-metadata">

**Author:** [@DeOceanPirate](https://forums.unrealengine.com/u/DeOceanPirate)\
**Replies:** 10\
**Last updated:** [May 5, 2021, 3:56am UTC](https://forums.unrealengine.com/t/widget-displaying-a-text-string-variable/384455 "2021-05-05T03:56:36Z")

</div>

Hi, I can’t seem to get my widget to replicate/display a variable or string. I have tried a few things but neither work. The widget is meant to get the Character’s Name and display it in my Widget, but fails to work howe…

---

## [Creating / Spawning things in a widget.](https://forums.unrealengine.com/t/creating-spawning-things-in-a-widget/227542)

<div class="topic-metadata">

**Author:** [@Xavota](https://forums.unrealengine.com/u/Xavota)\
**Replies:** 1\
**Last updated:** [May 4, 2021, 7:18pm UTC](https://forums.unrealengine.com/t/creating-spawning-things-in-a-widget/227542 "2021-05-04T19:18:46Z")

</div>

I’m trying to create a dynamic inventory, with bags of different sizes, so the number of available slots changes with every new bag, but I’m having trouble with creating those slots inside the widget at runtime. I can’t …

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

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