# 【BUG】InstancedStruct在选择子类后自动收起 

**URL:** <https://forums.unrealengine.com/t/bug-instancedstruct/2682267>\
**Category:** 简体中文 (Simplified Chinese)\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [October 29, 2025, 5:47am UTC](https://forums.unrealengine.com/t/bug-instancedstruct/2682267 "2025-10-29T05:47:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 29, 2025, 5:47am UTC](https://forums.unrealengine.com/t/bug-instancedstruct/2682267/1 "2025-10-29T05:47:50Z")

</div>

您好官方，

我们在项目中大量使用了InstancedStruct来配置数据增加灵活性。但是在配置过程中发现了使用上的bug。

InstancedStruct在Datatable中添加或者选择时，会触发SInstancedStructPicker::StructPicked方法，执行一次PropUtils-\>ForceRefresh();刷新表格节点。由于没有记录DetailNode的折叠信息（Expanded）,会导致数组形式的节点全部被折叠起来。详见视频附件。

祝好

---

<div class="post-metadata">

**Author:** ![TonyChen1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TonyChen1](https://forums.unrealengine.com/u/TonyChen1)\
**Post date:** [November 5, 2025, 7:09am UTC](https://forums.unrealengine.com/t/bug-instancedstruct/2682267/2 "2025-11-05T07:09:20Z")

</div>

你好，看起来添加新的元素时之前展开的内容自动折叠了起来，我反馈下看看后面是否会加入记录折叠信息的功能~
