# Editor Scripting

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

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

**Page:** 11

---

## [Python, create streaming level](https://forums.unrealengine.com/t/python-create-streaming-level/125410)

<div class="topic-metadata">

**Author:** [@Damien\_Conroy](https://forums.unrealengine.com/u/Damien_Conroy)\
**Replies:** 8\
**Last updated:** [April 8, 2024, 9:57am UTC](https://forums.unrealengine.com/t/python-create-streaming-level/125410 "2024-04-08T09:57:10Z")

</div>

Hi all experts, I am trying to create levels on datasmith import and then loading them into a main level. It looks like there is a way to create streaming levels from within the loaded level, but I don’t understand how …

---

## [Details Panel Customization for Sub-object](https://forums.unrealengine.com/t/details-panel-customization-for-sub-object/688912)

<div class="topic-metadata">

**Author:** [@wab11](https://forums.unrealengine.com/u/wab11)\
**Replies:** 3\
**Last updated:** [April 8, 2024, 7:19am UTC](https://forums.unrealengine.com/t/details-panel-customization-for-sub-object/688912 "2024-04-08T07:19:12Z")

</div>

The Question/topic is very simple: How to create “Details Panel Customization” for subobject which is specifed like this: UPROPERTY (EditInstanceOnly, Instanced, BlueprintReadOnly, Category = Configuration, meta = (Ex…

---

## [Hide "Pilot active" controls in viewport windows](https://forums.unrealengine.com/t/hide-pilot-active-controls-in-viewport-windows/152046)

<div class="topic-metadata">

**Author:** [@Ben\_Cykyria](https://forums.unrealengine.com/u/Ben_Cykyria)\
**Replies:** 6\
**Last updated:** [April 7, 2024, 11:12pm UTC](https://forums.unrealengine.com/t/hide-pilot-active-controls-in-viewport-windows/152046 "2024-04-07T23:12:26Z")

</div>

I want to have a viewport with no controls in it. To this, activate “Game View”, then go to “Settings” and enable “Hide Viewport UI”. However, I need to pilot a camera, and as soon as I pilot the camera, I get this tool…

---

## [Blueprint structure can't be correctly saved (serialized)](https://forums.unrealengine.com/t/blueprint-structure-cant-be-correctly-saved-serialized/364099)

<div class="topic-metadata">

**Author:** [@marsonmao](https://forums.unrealengine.com/u/marsonmao)\
**Replies:** 15\
**Last updated:** [April 7, 2024, 2:33am UTC](https://forums.unrealengine.com/t/blueprint-structure-cant-be-correctly-saved-serialized/364099 "2024-04-07T02:33:40Z")

</div>

I’m using the Archive class to implement a save game system. My goal is to serialize any actor and its variables which enable the SaveGame property flag. So I made an Archive inherits FObjectAndNameAsStringProxyArchive …

---

## [Can't get run on server event to execute in actor](https://forums.unrealengine.com/t/cant-get-run-on-server-event-to-execute-in-actor/482972)

<div class="topic-metadata">

**Author:** [@AquaDark](https://forums.unrealengine.com/u/AquaDark)\
**Replies:** 5\
**Last updated:** [April 2, 2024, 4:07pm UTC](https://forums.unrealengine.com/t/cant-get-run-on-server-event-to-execute-in-actor/482972 "2024-04-02T16:07:28Z")

</div>

I’m still trying to wrap my head around replication but basically what I’m trying to do is set a variable (Terminal is being used) and replicate that to all the clients so that if a player is using said terminal they …

---

## [Optitrack Live Link + Multi User then UE Shutdown](https://forums.unrealengine.com/t/optitrack-live-link-multi-user-then-ue-shutdown/1775698)

<div class="topic-metadata">

**Author:** [@caepee](https://forums.unrealengine.com/u/caepee)\
**Replies:** 0\
**Last updated:** [March 28, 2024, 8:07am UTC](https://forums.unrealengine.com/t/optitrack-live-link-multi-user-then-ue-shutdown/1775698 "2024-03-28T08:07:19Z")

</div>

Hello I’m using Optitrack Live Link and Multi User. When you run the project on three computers through Switchboard, it turns off. If you don’t use either Live Link or Multi User, that’s not the case. What are the op…

---

## [\[Closed\] \[SOLVED\] Count specific items within an array?](https://forums.unrealengine.com/t/closed-solved-count-specific-items-within-an-array/459041)

<div class="topic-metadata">

**Author:** [@Milo\_911](https://forums.unrealengine.com/u/Milo_911)\
**Replies:** 15\
**Last updated:** [March 19, 2024, 2:04pm UTC](https://forums.unrealengine.com/t/closed-solved-count-specific-items-within-an-array/459041 "2024-03-19T14:04:50Z")

</div>

I’m trying to figure out how to get the total amount of potions are in my inventory array, but I’m not sure how! Is there an array node that i can use to do this?

---

## [Building a point-click walking first person functionality and it works only in the editor](https://forums.unrealengine.com/t/building-a-point-click-walking-first-person-functionality-and-it-works-only-in-the-editor/1761391)

<div class="topic-metadata">

**Author:** [@akevorkov](https://forums.unrealengine.com/u/akevorkov)\
**Replies:** 1\
**Last updated:** [March 19, 2024, 2:13am UTC](https://forums.unrealengine.com/t/building-a-point-click-walking-first-person-functionality-and-it-works-only-in-the-editor/1761391 "2024-03-19T02:13:41Z")

</div>

Hi all, I have a problem that I desperately need to fix. I’m building an environment that will allow users to walk by double-clicking on the floor. I added Navmesh and Recast Mesh are on the same main level (I use Persi…

---

## [hello everybody. when i go into the editor playing mode, it just puts me into some strange spectator mode and dosent let me control my character. how do i fix it? thank you.](https://forums.unrealengine.com/t/hello-everybody-when-i-go-into-the-editor-playing-mode-it-just-puts-me-into-some-strange-spectator-mode-and-dosent-let-me-control-my-character-how-do-i-fix-it-thank-you/1738790)

<div class="topic-metadata">

**Author:** [@AdiDaub](https://forums.unrealengine.com/u/AdiDaub)\
**Replies:** 7\
**Last updated:** [March 18, 2024, 7:04pm UTC](https://forums.unrealengine.com/t/hello-everybody-when-i-go-into-the-editor-playing-mode-it-just-puts-me-into-some-strange-spectator-mode-and-dosent-let-me-control-my-character-how-do-i-fix-it-thank-you/1738790 "2024-03-18T19:04:28Z")

</div>

hello everybody. when i go into the editor playing mode, it just puts me into some strange spectator mode and dosent let me control my character. how do i fix it? thank you.

---

## [Add components to a Blueprint asset created in python using a BlueprintFactory](https://forums.unrealengine.com/t/add-components-to-a-blueprint-asset-created-in-python-using-a-blueprintfactory/571214)

<div class="topic-metadata">

**Author:** [@Regallith](https://forums.unrealengine.com/u/Regallith)\
**Replies:** 1\
**Last updated:** [March 18, 2024, 1:00am UTC](https://forums.unrealengine.com/t/add-components-to-a-blueprint-asset-created-in-python-using-a-blueprintfactory/571214 "2024-03-18T01:00:43Z")

</div>

Hey all, I’m trying to write an automation script for importing FBXs into the editor, and creating a blueprint with skeletal and static mesh components for each static and skeletal mesh imported. Everything works in re…

---

## [Knowledge Base: Add custom camera export information into calibration.xml file](https://forums.unrealengine.com/t/knowledge-base-add-custom-camera-export-information-into-calibration-xml-file/766770)

<div class="topic-metadata">

**Author:** [@Anonymous\_b2e53625d3](https://forums.unrealengine.com/u/Anonymous_b2e53625d3)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 12:30pm UTC](https://forums.unrealengine.com/t/knowledge-base-add-custom-camera-export-information-into-calibration-xml-file/766770 "2022-05-25T12:30:37Z")

</div>

When you need to create your own custom camera calibration export there is a way how to do it. Adding your own format First you need to do is to look for the calibration.xml file which you can find in your RealityCaptu…

---

## [Knowledge Base: Exporting Thumbnails to PNGs](https://forums.unrealengine.com/t/knowledge-base-exporting-thumbnails-to-pngs/501891)

<div class="topic-metadata">

**Author:** [@Joe\_Radak](https://forums.unrealengine.com/u/Joe_Radak)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 7:36pm UTC](https://forums.unrealengine.com/t/knowledge-base-exporting-thumbnails-to-pngs/501891 "2022-02-24T19:36:29Z")

</div>

Exporting Thumbnails to PNGs Article written by Cody A. For some projects, it can be useful to automatically export out generated asset thumbnails as PNG files. This can be accomplished by accessing the thumbnail via t…

---

## [Knowledge Base: Creating Filtered Object Pickers](https://forums.unrealengine.com/t/knowledge-base-creating-filtered-object-pickers/264936)

<div class="topic-metadata">

**Author:** [@RudyTriplett](https://forums.unrealengine.com/u/RudyTriplett)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 10:07pm UTC](https://forums.unrealengine.com/t/knowledge-base-creating-filtered-object-pickers/264936 "2021-12-08T22:07:51Z")

</div>

Article written by Cody A. When declaring an object UProperty, you can provide a class filter to show only classes with a specific base class via the AllowedClasses metadata specifier: UPROPERTY(EditAnywhere, meta = (A…

---

## [Creating/adding socket to a static mesh with Python](https://forums.unrealengine.com/t/creating-adding-socket-to-a-static-mesh-with-python/153520)

<div class="topic-metadata">

**Author:** [@Kosuna](https://forums.unrealengine.com/u/Kosuna)\
**Replies:** 3\
**Last updated:** [March 15, 2024, 5:38am UTC](https://forums.unrealengine.com/t/creating-adding-socket-to-a-static-mesh-with-python/153520 "2024-03-15T05:38:01Z")

</div>

I made a script that creates StaticMeshSocket objects and adds them to a Static Mesh with some coordinates. The problem is when I reload my project I cant open my Static Mesh anymore, everything just crashes. I assume t…

---

## [Can I hook a Save Level Event on UE?](https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511)

<div class="topic-metadata">

**Author:** [@LikeThatAng](https://forums.unrealengine.com/u/LikeThatAng)\
**Replies:** 2\
**Last updated:** [March 13, 2024, 9:35am UTC](https://forums.unrealengine.com/t/can-i-hook-a-save-level-event-on-ue/581511 "2024-03-13T09:35:17Z")

</div>

I wanna make a external data for each level, but at this point. I have to export it manually. Is there any way to hook a save level event from Unreal Engine so I can make it automatically? I’ve found a action set which…

---

## [Can you edit a Blueprint Variable from Python?](https://forums.unrealengine.com/t/can-you-edit-a-blueprint-variable-from-python/123147)

<div class="topic-metadata">

**Author:** [@Adam.Kelsey](https://forums.unrealengine.com/u/Adam.Kelsey)\
**Replies:** 12\
**Last updated:** [March 11, 2024, 4:57pm UTC](https://forums.unrealengine.com/t/can-you-edit-a-blueprint-variable-from-python/123147 "2024-03-11T16:57:54Z")

</div>

I have been digging around, but I have been unable to find anything that looks like a way to edit an Animation Blueprint directly. There are ways to create them and assign a skeleton but that is about where my editing st…

---

## [Live Link VCAM + Unreal5.3 Not Work : StreamingConnection WebRTC disconnected with error](https://forums.unrealengine.com/t/live-link-vcam-unreal5-3-not-work-streamingconnection-webrtc-disconnected-with-error/1733931)

<div class="topic-metadata">

**Author:** [@Doraemon231](https://forums.unrealengine.com/u/Doraemon231)\
**Replies:** 1\
**Last updated:** [March 7, 2024, 3:22pm UTC](https://forums.unrealengine.com/t/live-link-vcam-unreal5-3-not-work-streamingconnection-webrtc-disconnected-with-error/1733931 "2024-03-07T15:22:26Z")

</div>

Virtual Camera Actor Quick Start Troubleshooting Live Link | Epic Developer Community Live Link VCam - Couldn’t Connect - Plugins - Epic Developer Community Forums https://www.reddit.com/r/unrealengine/comments/13c3…

---

## [Is it possible to use Python for editing material graphs?](https://forums.unrealengine.com/t/is-it-possible-to-use-python-for-editing-material-graphs/122744)

<div class="topic-metadata">

**Author:** [@Code\_Goblin](https://forums.unrealengine.com/u/Code_Goblin)\
**Replies:** 14\
**Last updated:** [March 6, 2024, 6:59pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-use-python-for-editing-material-graphs/122744 "2024-03-06T18:59:32Z")

</div>

As stated in the title… I’ve been trying to figure out how to use Python to edit materials. So I’d like to be able to do operations like: Check if a material base color has an incoming connection, and if so, what it is…

---

## [Google AR Core and Android API 33 compatibility question in UE 4.23.1](https://forums.unrealengine.com/t/google-ar-core-and-android-api-33-compatibility-question-in-ue-4-23-1/1731140)

<div class="topic-metadata">

**Author:** [@roalths11](https://forums.unrealengine.com/u/roalths11)\
**Replies:** 0\
**Last updated:** [March 5, 2024, 6:01am UTC](https://forums.unrealengine.com/t/google-ar-core-and-android-api-33-compatibility-question-in-ue-4-23-1/1731140 "2024-03-05T06:01:49Z")

</div>

Hello, I’m using a translator, so the words may be awkward. I’m currently developing an AR application using Unreal Engine 4.23.1, chosen specifically to avoid errors present in versions after 4.24. My project needs to…

---

## [Unreal Module via PyCharm](https://forums.unrealengine.com/t/unreal-module-via-pycharm/127790)

<div class="topic-metadata">

**Author:** [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Replies:** 3\
**Last updated:** [February 29, 2024, 7:22am UTC](https://forums.unrealengine.com/t/unreal-module-via-pycharm/127790 "2024-02-29T07:22:10Z")

</div>

My PyCharm does not recognize “import unreal” as a module. I do not see an option to in Unreal or PyCham to include the unreal Python as a module inside PyCharm. Any suggestions to get this module loaded into my PyCharm…

---

## [Crash when enabling physics on Groom Asset with Python](https://forums.unrealengine.com/t/crash-when-enabling-physics-on-groom-asset-with-python/1134618)

<div class="topic-metadata">

**Author:** [@TomInterdigital](https://forums.unrealengine.com/u/TomInterdigital)\
**Replies:** 2\
**Last updated:** [February 29, 2024, 3:03am UTC](https://forums.unrealengine.com/t/crash-when-enabling-physics-on-groom-asset-with-python/1134618 "2024-02-29T03:03:53Z")

</div>

Hello everyone, I’m want to enable the physic simulation on many assets so I want to automate it. I did it with Python, I can modify the gravity value for exemple, but when i enable physics, the engine crash, here is th…

---

## [Pixel streaming in Editor can not streaming any audio.](https://forums.unrealengine.com/t/pixel-streaming-in-editor-can-not-streaming-any-audio/1713480)

<div class="topic-metadata">

**Author:** [@Natmat1](https://forums.unrealengine.com/u/Natmat1)\
**Replies:** 0\
**Last updated:** [February 26, 2024, 10:15am UTC](https://forums.unrealengine.com/t/pixel-streaming-in-editor-can-not-streaming-any-audio/1713480 "2024-02-26T10:15:45Z")

</div>

UE version:5.3 Pixel streaming plugin can streaming editor,but in test,it can not streaming any audio, 编辑器中的像素流送 | 虚幻引擎5.3文档 (unrealengine.com) Use BP(Play sound 2d),if I Run standalone,client will streaming audio,but…

---

## [Editor adds spacing in variable and function names.](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572)

<div class="topic-metadata">

**Author:** [@TM317](https://forums.unrealengine.com/u/TM317)\
**Replies:** 5\
**Last updated:** [February 25, 2024, 7:00am UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572 "2024-02-25T07:00:58Z")

</div>

I am not sure if I am missing a setting but I would like to know how to stop the editor from adding a space in my names(When using camel case). If I type “MyVariable” what I get is “My Variable”. How to turn this off?

---

## [Saving blueprints inheriting from Python classes crashes the editor](https://forums.unrealengine.com/t/saving-blueprints-inheriting-from-python-classes-crashes-the-editor/137073)

<div class="topic-metadata">

**Author:** [@BringTheSmiles](https://forums.unrealengine.com/u/BringTheSmiles)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 4:45am UTC](https://forums.unrealengine.com/t/saving-blueprints-inheriting-from-python-classes-crashes-the-editor/137073 "2024-02-20T04:45:30Z")

</div>

Hi, all I’ve started playing around with python in Unreal, specifically trying to find the best way of interfacing with EditorUtilityWidgets to provide some UI for tools and scripts. However, the editor will crash when…

---

## [Get class of actor?](https://forums.unrealengine.com/t/get-class-of-actor/339229)

<div class="topic-metadata">

**Author:** [@Dirt113](https://forums.unrealengine.com/u/Dirt113)\
**Replies:** 6\
**Last updated:** [February 16, 2024, 10:56am UTC](https://forums.unrealengine.com/t/get-class-of-actor/339229 "2024-02-16T10:56:37Z")

</div>

Is there a way to get the class of an AActor except for manually casting it to every single subclass, nor enumerations with the type of the actor as a variable? I need this for my inventory system

---

## [Import animation without mesh in Unreal 4.22 using python](https://forums.unrealengine.com/t/import-animation-without-mesh-in-unreal-4-22-using-python/127167)

<div class="topic-metadata">

**Author:** [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Replies:** 8\
**Last updated:** [February 15, 2024, 2:39pm UTC](https://forums.unrealengine.com/t/import-animation-without-mesh-in-unreal-4-22-using-python/127167 "2024-02-15T14:39:15Z")

</div>

Hello ! I do a script for import a animation in unreal engine but the parameter FbxImportUI.import\_mesh does not work :confused: When I run the script it import the animation and the mesh but I want import only the anim…

---

## [Python script works in the Editor but fails at Commandlet.](https://forums.unrealengine.com/t/python-script-works-in-the-editor-but-fails-at-commandlet/447757)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 1\
**Last updated:** [February 14, 2024, 5:15am UTC](https://forums.unrealengine.com/t/python-script-works-in-the-editor-but-fails-at-commandlet/447757 "2024-02-14T05:15:08Z")

</div>

My script works in the Editor but fails when run from Cmdlet: Command line: "C:\\Program Files\\Epic Games\\UE\_4.21\\Engine\\Binaries\\Win64\\UE4Editor-Cmd.exe" "/path/to/my.uproject" -run=pythonscript -script="/path/to/selec…

---

## [UE4.27 crashes while running python script on CMD](https://forums.unrealengine.com/t/ue4-27-crashes-while-running-python-script-on-cmd/494018)

<div class="topic-metadata">

**Author:** [@PengSengAng](https://forums.unrealengine.com/u/PengSengAng)\
**Replies:** 2\
**Last updated:** [February 14, 2024, 3:15am UTC](https://forums.unrealengine.com/t/ue4-27-crashes-while-running-python-script-on-cmd/494018 "2024-02-14T03:15:04Z")

</div>

When i execute this script in UE4, it works successfully. When i run this script on command line with: “C:\\Program Files\\Epic Games\\UE\_4.27\\Engine\\Binaries\\Win64\\UE4Editor-Cmd.exe” “C:\\Users\\Documents\\Unreal Projects\\t…

---

## [viewport screen location to world location in editor](https://forums.unrealengine.com/t/viewport-screen-location-to-world-location-in-editor/1686550)

<div class="topic-metadata">

**Author:** [@candyflip97](https://forums.unrealengine.com/u/candyflip97)\
**Replies:** 5\
**Last updated:** [February 13, 2024, 9:18pm UTC](https://forums.unrealengine.com/t/viewport-screen-location-to-world-location-in-editor/1686550 "2024-02-13T21:18:52Z")

</div>

Is there any way I can map the viewport screen position to world coordinates in the editor? it sounds so simple but I can’t find any source.

---

## [What is the best way to populate USaveGame on LoadGame before serialization?](https://forums.unrealengine.com/t/what-is-the-best-way-to-populate-usavegame-on-loadgame-before-serialization/464919)

<div class="topic-metadata">

**Author:** [@nansP](https://forums.unrealengine.com/u/nansP)\
**Replies:** 1\
**Last updated:** [February 12, 2024, 1:48pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-populate-usavegame-on-loadgame-before-serialization/464919 "2024-02-12T13:48:43Z")

</div>

Hi there, First, sorry for my english, I try to do my best but i’m not fluent at all. To give you more details: ##My Needs## I need to populate my derived USaveGame object with an UObject containing the current UWorl…

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

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