UI design issue: Cannot reparent window error message

Hi,

I am stuck with a error message and a behavior I can’t understand while creating a UI of nested windows.

The error message is
Cannot reparent window to suggested parent. Window will not automatically close. UnityEngine.GUIUtility: ProcessEvent(Int32, IntPtr, Boolean)

The strange behavior is that I cannot edit manually the values of the UI objects in the inspector. I cannot modify the values with the keyboard, but I can modify them with the mouse by clicking, holding and moving to the right or left

This happens when I try to create a scrolllist within a UI, but I can’t find a way to reproduce it all the time. I also cannot find a way to get rid of it when it happens, except deleting UI elements and restarting Unity.

Any idea where this is coming from ? I am not using anything besides standard UI elements

Hi @Grumphh even I faced the same issue and was very scared. However, a very easy and silly solution worked for me. I saved all my scenes and scripts. Then I closed Unity and again opened it through unity hub. Then, it started to work again. Hope it works for you too.