# Editor Scripting

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

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

**Page:** 30

---

## [Referencing to Physics Constraint Component in Blueprints](https://forums.unrealengine.com/t/referencing-to-physics-constraint-component-in-blueprints/490346)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_459358d5](https://forums.unrealengine.com/u/anonymous_user_459358d5)\
**Replies:** 0\
**Last updated:** [October 28, 2021, 11:18am UTC](https://forums.unrealengine.com/t/referencing-to-physics-constraint-component-in-blueprints/490346 "2021-10-28T11:18:54Z")

</div>

Hi all, For the past week I have been struggling with referencing to physics constraint components in blueprints. Let me quickly describe the situation. I imported a .fbx file and generated a skeleton with a linked ske…

---

## [How can you have a user select an audio file?](https://forums.unrealengine.com/t/how-can-you-have-a-user-select-an-audio-file/258021)

<div class="topic-metadata">

**Author:** [@WhiteRoseGold](https://forums.unrealengine.com/u/WhiteRoseGold)\
**Replies:** 0\
**Last updated:** [October 28, 2021, 3:25am UTC](https://forums.unrealengine.com/t/how-can-you-have-a-user-select-an-audio-file/258021 "2021-10-28T03:25:59Z")

</div>

I am trying to make a music player in my project, is their a way to let the user select a .wav file to play? I have the music player working its just the user select their own file that I cant figure out. I would prefer …

---

## [Add Material Slots via Script](https://forums.unrealengine.com/t/add-material-slots-via-script/256891)

<div class="topic-metadata">

**Author:** [@vorp](https://forums.unrealengine.com/u/vorp)\
**Replies:** 4\
**Last updated:** [October 24, 2021, 10:47pm UTC](https://forums.unrealengine.com/t/add-material-slots-via-script/256891 "2021-10-24T22:47:50Z")

</div>

Is there any way to create additional material slots on a StaticMesh asset via python or BP? Basically I want my lower lods to use different materials but to do that I first need to add material slots. I’ve searched th…

---

## [SaveGame on Android persists forever](https://forums.unrealengine.com/t/savegame-on-android-persists-forever/490139)

<div class="topic-metadata">

**Author:** [@EvolveGamesDE](https://forums.unrealengine.com/u/EvolveGamesDE)\
**Replies:** 0\
**Last updated:** [October 22, 2021, 5:11pm UTC](https://forums.unrealengine.com/t/savegame-on-android-persists-forever/490139 "2021-10-22T17:11:06Z")

</div>

Hello, If I delete a game on Android and reinstall it, it can load up the old save. But why? And how is it possible to delete this savegame?

---

## [Platform Specific Project Settings (ex. forward render for mobile)](https://forums.unrealengine.com/t/platform-specific-project-settings-ex-forward-render-for-mobile/255941)

<div class="topic-metadata">

**Author:** [@nullterm](https://forums.unrealengine.com/u/nullterm)\
**Replies:** 1\
**Last updated:** [October 20, 2021, 8:40am UTC](https://forums.unrealengine.com/t/platform-specific-project-settings-ex-forward-render-for-mobile/255941 "2021-10-20T08:40:14Z")

</div>

I’m looking at ways to swap project settings based on platform. Ex… Forward Rendering on for mobile Forward Rendering off for desktop/console Would be nice to have the configs as a Editor Utility Object, and a Editor…

---

## [Why isn't there a check for Empty Array Index?](https://forums.unrealengine.com/t/why-isnt-there-a-check-for-empty-array-index/348084)

<div class="topic-metadata">

**Author:** [@Arcade](https://forums.unrealengine.com/u/Arcade)\
**Replies:** 8\
**Last updated:** [October 17, 2021, 12:05pm UTC](https://forums.unrealengine.com/t/why-isnt-there-a-check-for-empty-array-index/348084 "2021-10-17T12:05:39Z")

</div>

Hi, I’ve seen a bunch of questions on how to see if a particular Index in an Array is empty, which is just what I want to do as well. What I’ve seen is that there’s no “Is it empty?”-check at all, and you always have to…

---

## [Blendspace not affecting the character blueprint](https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892)

<div class="topic-metadata">

**Author:** [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Replies:** 3\
**Last updated:** [October 15, 2021, 7:56am UTC](https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892 "2021-10-15T07:56:43Z")

</div>

In my Animation Blueprint preview, the blendspace works fine. Accurate animations regarding the speed, as well as accurate interpolation time. However, when I set that animation blueprint to an AI character blueprint, t…

---

## [Returning Reference to Structure Not Working!](https://forums.unrealengine.com/t/returning-reference-to-structure-not-working/489673)

<div class="topic-metadata">

**Author:** [@AngularRat](https://forums.unrealengine.com/u/AngularRat)\
**Replies:** 1\
**Last updated:** [October 13, 2021, 11:15pm UTC](https://forums.unrealengine.com/t/returning-reference-to-structure-not-working/489673 "2021-10-13T23:15:27Z")

</div>

I have a TArray of USTRUCTs. I use these to draw a bunch of rectangles, and it works fine. All is exposed to Blueprints as well, which is where the problem is. I have a function (FindRoomById) that gets a particular U…

---

## [Remote control x axis ](https://forums.unrealengine.com/t/remote-control-x-axis/255570)

<div class="topic-metadata">

**Author:** [@rubendesnoo](https://forums.unrealengine.com/u/rubendesnoo)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 9:12pm UTC](https://forums.unrealengine.com/t/remote-control-x-axis/255570 "2021-10-12T21:12:27Z")

</div>

Hi, Im controling an actor with dmx via the remote control preset function. Works fine for most of the editor parameters. But when I only want to control the x-axis of the position of an actor, it also sends data tont…

---

## [Is there a way to close the editor when running a map on standalone game mode](https://forums.unrealengine.com/t/is-there-a-way-to-close-the-editor-when-running-a-map-on-standalone-game-mode/255544)

<div class="topic-metadata">

**Author:** [@Faisal.ro](https://forums.unrealengine.com/u/Faisal.ro)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 7:20pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-close-the-editor-when-running-a-map-on-standalone-game-mode/255544 "2021-10-12T19:20:39Z")

</div>

Hi, at the moment when I run any map on standalone game mode the editor is still open in the background. Is there a way to auto close it? I mean a command parameter for standalone game mode? So while I am on editor mode…

---

## [Filter AssetData by Parent Class type in Python](https://forums.unrealengine.com/t/filter-assetdata-by-parent-class-type-in-python/489778)

<div class="topic-metadata">

**Author:** [@stormhanssens](https://forums.unrealengine.com/u/stormhanssens)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 4:01am UTC](https://forums.unrealengine.com/t/filter-assetdata-by-parent-class-type-in-python/489778 "2021-10-12T04:01:01Z")

</div>

Hello. I want to make script in Python to create some kind of report from AssetData list, that filtered by it’s class type. The filter of AssetData included in the report would all that have unreal.AnimationAsset as it’…

---

## [A central BP that autosaves everything](https://forums.unrealengine.com/t/a-central-bp-that-autosaves-everything/489750)

<div class="topic-metadata">

**Author:** [@linkings](https://forums.unrealengine.com/u/linkings)\
**Replies:** 1\
**Last updated:** [October 11, 2021, 2:54pm UTC](https://forums.unrealengine.com/t/a-central-bp-that-autosaves-everything/489750 "2021-10-11T14:54:34Z")

</div>

I have a BP called “Savior” that will be automatically spawned with the Game mode. It should be the centerpiece where even the Settings widget stores and recalls all the game settings, ideally every second. It should als…

---

## [Widget Slider position value doesn't load from savegame](https://forums.unrealengine.com/t/widget-slider-position-value-doesnt-load-from-savegame/489736)

<div class="topic-metadata">

**Author:** [@\_e\_92](https://forums.unrealengine.com/u/_e_92)\
**Replies:** 1\
**Last updated:** [October 11, 2021, 4:25am UTC](https://forums.unrealengine.com/t/widget-slider-position-value-doesnt-load-from-savegame/489736 "2021-10-11T04:25:28Z")

</div>

So I have a slider in my pause menu widget that controls mouse sensitivity. The sensitivity changes when I move the slider and it saves when I close the pause menu but when I open it up again the slider position resets t…

---

## [Change Save Game Location](https://forums.unrealengine.com/t/change-save-game-location/407441)

<div class="topic-metadata">

**Author:** [@DMHokie](https://forums.unrealengine.com/u/DMHokie)\
**Replies:** 4\
**Last updated:** [October 9, 2021, 9:01pm UTC](https://forums.unrealengine.com/t/change-save-game-location/407441 "2021-10-09T21:01:39Z")

</div>

Is it possible to change where the game saves to? By default it saves to the game folder: “gamename”\\Saved\\SaveGames Is it possible to change this location, for instance to a network folder?

---

## [Texture Array vs Texture2D Array](https://forums.unrealengine.com/t/texture-array-vs-texture2d-array/489517)

<div class="topic-metadata">

**Author:** [@GVWorks](https://forums.unrealengine.com/u/GVWorks)\
**Replies:** 2\
**Last updated:** [October 8, 2021, 8:39pm UTC](https://forums.unrealengine.com/t/texture-array-vs-texture2d-array/489517 "2021-10-08T20:39:09Z")

</div>

Hi! I have a lots of textures(40 packs by about 40 items), and Atlas isn’t a solution, so i found two pipeline selecting group ot textures, create Texture Array, pass it to shader and blueprint or create array of t…

---

## [Python Scripting Gltf Import](https://forums.unrealengine.com/t/python-scripting-gltf-import/235143)

<div class="topic-metadata">

**Author:** [@SHADOWxSTARK](https://forums.unrealengine.com/u/SHADOWxSTARK)\
**Replies:** 2\
**Last updated:** [October 8, 2021, 2:03pm UTC](https://forums.unrealengine.com/t/python-scripting-gltf-import/235143 "2021-10-08T14:03:39Z")

</div>

I am trying to import GLTF File through a python script but getting Following error Wither I use any of the following class: unreal.GLTFImportFactory unreal.DatasmithImportOptions unreal.DatasmithStaticMeshGLTFImportD…

---

## [Casting a blueprint in Python](https://forums.unrealengine.com/t/casting-a-blueprint-in-python/459296)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b1aa6f5f](https://forums.unrealengine.com/u/anonymous_user_b1aa6f5f)\
**Replies:** 3\
**Last updated:** [October 7, 2021, 7:17am UTC](https://forums.unrealengine.com/t/casting-a-blueprint-in-python/459296 "2021-10-07T07:17:15Z")

</div>

As far as I’ve been able to tell, there’s no way to get Python to do the kind of dynamic node cast you’d use in regular blueprints to cast an instance of a blueprint to a derived type – no matter what blueprint asset you…

---

## [Extending static mesh bounds?](https://forums.unrealengine.com/t/extending-static-mesh-bounds/253762)

<div class="topic-metadata">

**Author:** [@eobet](https://forums.unrealengine.com/u/eobet)\
**Replies:** 0\
**Last updated:** [October 2, 2021, 3:44pm UTC](https://forums.unrealengine.com/t/extending-static-mesh-bounds/253762 "2021-10-02T15:44:29Z")

</div>

It seems “set bounds scale” on a static component is not enough to prevent it from flickering with large world position offset materials, so if you have a lot of those, you need to access the bound extents on the static …

---

## [Array item in SaveFile turns NULL](https://forums.unrealengine.com/t/array-item-in-savefile-turns-null/486197)

<div class="topic-metadata">

**Author:** [@Sutano\_Izamura](https://forums.unrealengine.com/u/Sutano_Izamura)\
**Replies:** 1\
**Last updated:** [October 1, 2021, 11:08pm UTC](https://forums.unrealengine.com/t/array-item-in-savefile-turns-null/486197 "2021-10-01T23:08:41Z")

</div>

Hello devs. Sorry for bothering you but I really do not know what is happening right here Can someone explain to me how it is possible that a variable which is in SaveGame FIle becomes NULL after a certain time? (Time i…

---

## [Get the list as in the Reference Viewer from the current asset in a function](https://forums.unrealengine.com/t/get-the-list-as-in-the-reference-viewer-from-the-current-asset-in-a-function/489428)

<div class="topic-metadata">

**Author:** [@justDaemon](https://forums.unrealengine.com/u/justDaemon)\
**Replies:** 0\
**Last updated:** [October 1, 2021, 7:22pm UTC](https://forums.unrealengine.com/t/get-the-list-as-in-the-reference-viewer-from-the-current-asset-in-a-function/489428 "2021-10-01T19:22:22Z")

</div>

Hi all! Sorry for my bad english. I have a function in which Texture2D is located, I want to find the Material(s) associated with it, how can this be done? Thanks in advance!

---

## [Render movies using sequencer with python script](https://forums.unrealengine.com/t/render-movies-using-sequencer-with-python-script/253563)

<div class="topic-metadata">

**Author:** [@blueRangerr1](https://forums.unrealengine.com/u/blueRangerr1)\
**Replies:** 0\
**Last updated:** [October 1, 2021, 3:50am UTC](https://forums.unrealengine.com/t/render-movies-using-sequencer-with-python-script/253563 "2021-10-01T03:50:17Z")

</div>

Hi. I am working on a script for rendering multiple sequences one after another. When I used unreal.SequencerTools.render\_movie it is performing the tasks asynchronously causing the editor to crash by starting a second …

---

## [What does the Save Game Tick do?](https://forums.unrealengine.com/t/what-does-the-save-game-tick-do/489361)

<div class="topic-metadata">

**Author:** [@Centar](https://forums.unrealengine.com/u/Centar)\
**Replies:** 1\
**Last updated:** [September 30, 2021, 8:07am UTC](https://forums.unrealengine.com/t/what-does-the-save-game-tick-do/489361 "2021-09-30T08:07:41Z")

</div>

---

## [Sort actors in an array by an internal variable?](https://forums.unrealengine.com/t/sort-actors-in-an-array-by-an-internal-variable/489317)

<div class="topic-metadata">

**Author:** [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Replies:** 3\
**Last updated:** [September 29, 2021, 10:53pm UTC](https://forums.unrealengine.com/t/sort-actors-in-an-array-by-an-internal-variable/489317 "2021-09-29T22:53:58Z")

</div>

Maybe I’m going about this wrong, but here’s my scenario. I have 8 pawns in the game. Each of them has a float variable called RaceProgress which is their percentage along a spline. I want to get all of the actors of cl…

---

## [How to create shared inventory ? (Multiplayer)](https://forums.unrealengine.com/t/how-to-create-shared-inventory-multiplayer/489118)

<div class="topic-metadata">

**Author:** [@Jump3rCZ](https://forums.unrealengine.com/u/Jump3rCZ)\
**Replies:** 2\
**Last updated:** [September 29, 2021, 9:38am UTC](https://forums.unrealengine.com/t/how-to-create-shared-inventory-multiplayer/489118 "2021-09-29T09:38:42Z")

</div>

Hi! i didnt find any tutorial on this, can you help me guys? im struggling with this for a couple days now. I want to have a shared Keys like labyrithine for example. I actually have 2 keys from one door and i can get …

---

## [Can't create UVs for my Alembic Fur groom](https://forums.unrealengine.com/t/cant-create-uvs-for-my-alembic-fur-groom/253015)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_df4c827a](https://forums.unrealengine.com/u/anonymous_user_df4c827a)\
**Replies:** 0\
**Last updated:** [September 28, 2021, 12:15am UTC](https://forums.unrealengine.com/t/cant-create-uvs-for-my-alembic-fur-groom/253015 "2021-09-28T00:15:50Z")

</div>

Hey everyone, I’m having trouble with making UVs on my Alembic fur groom for Unreal engine. I’ve been following their guide and documentations on the unreal website: XGen Guidelines for Hair Creation | Unreal Engine 4.27…

---

## [I have to cast everytime I want a reference to player or the player state?](https://forums.unrealengine.com/t/i-have-to-cast-everytime-i-want-a-reference-to-player-or-the-player-state/488211)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b9c129c2](https://forums.unrealengine.com/u/anonymous_user_b9c129c2)\
**Replies:** 6\
**Last updated:** [September 27, 2021, 6:12pm UTC](https://forums.unrealengine.com/t/i-have-to-cast-everytime-i-want-a-reference-to-player-or-the-player-state/488211 "2021-09-27T18:12:24Z")

</div>

Trying to save the player state as a reference variable so I can use it later. It is set from spawn at beginplay and a print/test confirms it saves the player state correctly. Literally beginplay \> cast from controller…

---

## [Unable to import GLB file with DatasmithGLTFImportOptions](https://forums.unrealengine.com/t/unable-to-import-glb-file-with-datasmithgltfimportoptions/153655)

<div class="topic-metadata">

**Author:** [@brisket](https://forums.unrealengine.com/u/brisket)\
**Replies:** 1\
**Last updated:** [September 27, 2021, 12:09am UTC](https://forums.unrealengine.com/t/unable-to-import-glb-file-with-datasmithgltfimportoptions/153655 "2021-09-27T00:09:15Z")

</div>

Having trouble importing a GLB file. Using DatasmithGLTFImportOptions but not sure what’s wrong. Tried both version 4.24 and 4.25. I don’t know if my problem is the same as this known UE issue: Make sure GLTF importer c…

---

## [Python - how do i fix "missing required argument 'type'"](https://forums.unrealengine.com/t/python-how-do-i-fix-missing-required-argument-type/251888)

<div class="topic-metadata">

**Author:** [@racks](https://forums.unrealengine.com/u/racks)\
**Replies:** 1\
**Last updated:** [September 26, 2021, 9:34pm UTC](https://forums.unrealengine.com/t/python-how-do-i-fix-missing-required-argument-type/251888 "2021-09-26T21:34:44Z")

</div>

Error message: LogPython: Error: mesh.create\_mesh\_section(0, verts, triangles, normals, UV, unreal.Array(), tangents, False) LogPython: Error: TypeError: call() missing required argument 'type' (pos 1) My Code: xL…

---

## [Can't Open/Edit .uasset file](https://forums.unrealengine.com/t/cant-open-edit-uasset-file/489188)

<div class="topic-metadata">

**Author:** [@tebinmaynor](https://forums.unrealengine.com/u/tebinmaynor)\
**Replies:** 2\
**Last updated:** [September 26, 2021, 6:26pm UTC](https://forums.unrealengine.com/t/cant-open-edit-uasset-file/489188 "2021-09-26T18:26:41Z")

</div>

Hi. I am trying to modify Dragon Ball FigherZ content for me and my friends to use offline. For example: I would like to swap a character’s color05 and color01 with one another. I can’t seem to figure out how to edit the…

---

## [Is there a way to find references in Uassets?](https://forums.unrealengine.com/t/is-there-a-way-to-find-references-in-uassets/381664)

<div class="topic-metadata">

**Author:** [@RUFKE](https://forums.unrealengine.com/u/RUFKE)\
**Replies:** 2\
**Last updated:** [September 25, 2021, 3:21pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-find-references-in-uassets/381664 "2021-09-25T15:21:34Z")

</div>

Here is an example : I have a material instance that I want to delete. When I try a “reference viewer” on the material it will show that it is used in a particle system. But that particle system can contain many many …

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

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