# TArray of UObjects resetting after editor restart

**URL:** <https://forums.unrealengine.com/t/tarray-of-uobjects-resetting-after-editor-restart/1426079>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [November 27, 2023, 3:49pm UTC](https://forums.unrealengine.com/t/tarray-of-uobjects-resetting-after-editor-restart/1426079 "2023-11-27T15:49:53Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [November 30, 2023, 11:38pm UTC](https://forums.unrealengine.com/t/tarray-of-uobjects-resetting-after-editor-restart/1426079/15 "2023-11-30T23:38:46Z")

</div>

> [@Dealman](#):
>
> It _does_ work, just the saving doesn’t. And I don’t know if that’s by design or if I’m missing something - probably the former at this point which would make me quite sad.

Hope someone might give us both more information / documentation on this, now the method I was using is also deprecated. It’s hard to tell what is by design. For example, I was running some code which was basically an editor utility but written on the construction script and visual debugging was failing because it depended on a player and HUD being present (obviously not present before PIE). This was one of multiple debuggers, all with their flaws. Sometimes the design is not clear at all.

> [@Dealman](#):
>
> `MARK_PROPERTY_DIRTY_FROM_NAME`

Not familiar with this. I checked the [Network Compendium](https://cedric-neukirchen.net/docs/intro) which shows nothing about it.

> [@Dealman](#):
>
> I did try making my own scene component with the values I need but even here the results were the same. If I were to try and alter it via C++ when moving it using the widget

I suppose setting the relative position of the SceneComponent itself through c++, being a property, then also does not give the results. Wish I had the fix 😕 . I don’t really remember what I discovered back then but [on my old post](https://forums.unrealengine.com/t/c-property-modifications-posteditchange-are-not-saved/603526/3) I said this:

```auto
If you are lucky to work with an editor extension (detail panels etc.) you can make use of property handles and property nodes, but these are otherwise inaccessible (strange indeed, as they’d make automation really easy). Setting values on a preview object during PreSave seems to write them permanently to the CDO as well.

```

This will likely have been at UE4.2.7 where I hoped to simulate “a user editing values” for this exact reason. Apparently I thought there was a way through detail panels ([Link](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Slate/DetailsCustomization/), [Link\_2](https://codekittah.medium.com/custom-details-panels-in-unreal-engine-fpropertyeditormodule-6fe41ba7c339)) if working with an editor extension for what is basically your editor util code. The idea being if you modify the editor panel instead of the object property, the panel will take care of the process the natural way. It’s an idea, but I’m running out of ideas 🙂 .

---

_[View the full topic](https://forums.unrealengine.com/t/tarray-of-uobjects-resetting-after-editor-restart/1426079)._
