Intermittent GUILayout: Mismatched LayoutGroup.repaint when opening Interactable
Describe the bug
After I import MRTK v2 RC1, created a scene. Simply drag PressableButton.prefab and hit run button.. i received the following Error.
"ArgumentException: GUILayout: Mismatched LayoutGroup.repaint"
To reproduce
Steps to reproduce the behavior:
- Import MRTK v2 RC1
- create new scene and click MRTK> add to scene and config
- Click play button in unity.
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.


Your Setup (please complete the following information)
- MRTK V2 RC1
- Unity 2018.3.10f1
Target Platform (please complete the following information)
- HoloLens
- HoloLens 2
- WMR immersive
- OpenVR
Additional context
Add any other context about the problem here.
@killerantz @Railboy Might be something related to the Interactable's inspector or Pressable Button's visual gizmo?
@cre8ivepark Possibly, but I can't repro this with either inspector active.
@junpark12 Can you try collapsing the inspector for each component on the button prefab and let us know when the exceptions cease?
@Railboy if i collapse all the item in inspector menu then no exception.. Thanks.
@junpark12 No problem. I was hoping to use that experiment to determine which inspector was the culprit. Sorry I wasn't clear. Could you try opening them one-by-one and let us know which inspector causes the errors?
These repaint errors are a pain to track down. I'll keep an eye out as I work on some press updates.
Acutally it randomly happens. sometime without collapsing the menu it worked and sometimes not..
merged