MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Intermittent GUILayout: Mismatched LayoutGroup.repaint when opening Interactable

Open junpark12 opened this issue 7 years ago • 7 comments

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:

  1. Import MRTK v2 RC1
  2. create new scene and click MRTK> add to scene and config
  3. Click play button in unity.
  4. 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. image

image

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.

junpark12 avatar Apr 18 '19 01:04 junpark12

@killerantz @Railboy Might be something related to the Interactable's inspector or Pressable Button's visual gizmo?

cre8ivepark avatar Apr 18 '19 04:04 cre8ivepark

@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 avatar Apr 18 '19 05:04 Railboy

@Railboy if i collapse all the item in inspector menu then no exception.. Thanks.

junpark12 avatar Apr 18 '19 06:04 junpark12

@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?

Railboy avatar Apr 18 '19 15:04 Railboy

These repaint errors are a pain to track down. I'll keep an eye out as I work on some press updates.

killerantz avatar Apr 18 '19 18:04 killerantz

Acutally it randomly happens. sometime without collapsing the menu it worked and sometimes not..

junpark12 avatar Apr 19 '19 08:04 junpark12

merged

julenka avatar Jun 27 '19 06:06 julenka