# Color Editor - Out of range values and crash

**URL:** <https://forums.unrealengine.com/t/color-editor-out-of-range-values-and-crash/296819>\
**Category:** Platform & Builds\
**Tags:** color-picker, bug, unreal-engine, crash, question\
**Created:** [October 21, 2014, 2:10pm UTC](https://forums.unrealengine.com/t/color-editor-out-of-range-values-and-crash/296819 "2014-10-21T14:10:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [October 21, 2014, 2:10pm UTC](https://forums.unrealengine.com/t/color-editor-out-of-range-values-and-crash/296819/1 "2014-10-21T14:10:09Z")

</div>

Hi!

I encountered this strange problem in my 4.5 project. I created a custom structure with a linear color parameter and then this happened:

![18515-untitled-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/9/8d94a8c77846c207e5ab86e77e41438616bd4f41.jpeg)

I can set the values back to the normal range, but a few seconds later, even before I can hit OK, the editor either crashes and my mouse is moving really slow until I dismiss the “UE4Editor.exe has stopped working”-message OR I get the regular submit crash report window.

I tried deleting the structure and create a new one, but I get the same problem again.

I attached the log  
[Click Me!][2]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [October 23, 2014, 2:07pm UTC](https://forums.unrealengine.com/t/color-editor-out-of-range-values-and-crash/296819/2 "2014-10-23T14:07:10Z")

</div>

Hello, DasMatze

Would you mind sending some more specific repro steps so I can help pinpoint the issue?

---

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [October 23, 2014, 6:58pm UTC](https://forums.unrealengine.com/t/color-editor-out-of-range-values-and-crash/296819/3 "2014-10-23T18:58:08Z")

</div>

I found out it’s only happening, when your custom structure is named “Color”. As soon as you try to to edit anything inside it, it crashes. This didn’t happen until 4.5.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [October 23, 2014, 7:14pm UTC](https://forums.unrealengine.com/t/color-editor-out-of-range-values-and-crash/296819/4 "2014-10-23T19:14:08Z")

</div>

What is probably happening is the word “Color” is predefined in code somewhere else, so naming your structure this is causing your issue to occur. I suggest just adding a letter and an underscore to make it more definitive and unique. For example “S\_Color”. Let me know if this changes your outcome.

---

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [October 23, 2014, 7:20pm UTC](https://forums.unrealengine.com/t/color-editor-out-of-range-values-and-crash/296819/5 "2014-10-23T19:20:13Z")

</div>

It does. I’m just mentioning that it didn’t happened before and anyone could run into this problem. Anyway I’m marking this problem as resolved.
