# Closing Colour Picker causes infinite loop

**URL:** <https://forums.unrealengine.com/t/closing-colour-picker-causes-infinite-loop/2739837>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [July 31, 2026, 6:15pm UTC](https://forums.unrealengine.com/t/closing-colour-picker-causes-infinite-loop/2739837 "2026-07-31T18:15:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DBCS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DBCS](https://forums.unrealengine.com/u/DBCS)\
**Post date:** [July 31, 2026, 6:15pm UTC](https://forums.unrealengine.com/t/closing-colour-picker-causes-infinite-loop/2739837/1 "2026-07-31T18:15:45Z")

</div>

To reproduce:  
Make a child asset of the spotlight  
Edit the colour of the child asset.  
Clicking okay or cancel or X on the colour picker causes the crash

1. FColorStructCustomization::OnColorPickerWindowClosed()
2. └── FPropertyValueImpl::SetValueAsString()
3. 

```
    └── FPropertyNode::NotifyPostChange()

```

4. 

```
          └── ASpotLight::PostEditChangeProperty() <-- Triggers Property Changed Event

```

5. 

```
                └── FColorStructCustomization::CreateColorPicker (Lambda)

```

6. 

```
                      └── DestroyColorPicker()

```

7. 

```
                            └── SWindow::NotifyWindowBeingDestroyed()

```

8. 

```
                                  └── SColorPicker::HandleParentWindowClosed()

```

9. 

```
                                        └── FColorStructCustomization::OnColorPickerWindowClosed() <-- RECURSIVE LOOP!

```

---

<div class="post-metadata">

**Author:** ![Soltude80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Soltude80](https://forums.unrealengine.com/u/Soltude80)\
**Post date:** [October 5, 2026, 2:16am UTC](https://forums.unrealengine.com/t/closing-colour-picker-causes-infinite-loop/2739837/2 "2026-10-05T02:16:06Z")

</div>

I’m running into this issue, too. Did you ever find a fix?

---

<div class="post-metadata">

**Author:** ![AlloCodePromo.fr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlloCodePromo.fr](https://forums.unrealengine.com/u/AlloCodePromo.fr)\
**Post date:** [October 5, 2026, 4:15pm UTC](https://forums.unrealengine.com/t/closing-colour-picker-causes-infinite-loop/2739837/3 "2026-10-05T16:15:41Z")

</div>

An infinite loop triggered simply by closing the colour picker seems like something that could easily be overlooked during testing. Hopefully there’s a straightforward workaround or a fix in a recent update.
