EndLayoutGroup: BeginLayoutGroup must be called first. UnityEngine.GUILayout:EndHorizontal()
When I select path to my arduino libraries folder it keeps giving me errors, the errors are even consistent since they seem to (at random) pick some of the EndLayoutGroup's in UduinoManager.cs and give this error: EndLayoutGroup: BeginLayoutGroup must be called first. UnityEngine.GUILayout:EndHorizontal() (can also be EndVertical). It also (more consistently) gives me the error: DirectoryNotFoundException: Could not find a part of the path 'C:\Users\pc\Documents\unity\uduino test\Assets\Uduino\Arduino\libraries'. System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) (at <fb001e01371b4adca20013e0ac763896>:0) even tho this isn't the path I've picked and it has actually put the library in the correct folder. Even tho the library is in the correct place and i can run the uduino arduino program from libraries, it doesn't say "step done" in unity at setup step 1.
This causes me to not be able to get the "i'm ready button". The weirdest part is that when I use the skip button I can connect with my aruino uno but not with my 9dof razor imu.
Comments (7)
-
-
repo owner @Toby Can I have more information on you Unity version ?
-
Same error here - does anyone know how to resolve??
-
repo owner Hello,
Which version of Unity/Uduino are you using and which OS ?
-
Hi Marc, I am having the same issue. My details are:
Unity version: 2020.3.23f1 , Windows 10 Professional, Arduino Mega2560
The first step where I update the library with the new path (my libraries are inside programfiles\Arduino\libraries rather than the default users\documents location) , and when I click update, nothing happens. It still shows No Arduino connected if I click Discover ports. And the EndLayoutGroup error comes up. Attached a picture.
Thanks
-
repo owner Thanks for reporting this issue, it will (hopefully) be fixed in the next version
-
repo owner - changed status to resolved
This should be fixed in the version 3.5 of Uduino
- Log in to comment
Exact same problem. I tried to manually copy the files but it still won't go.