[scrollView] scrollView & grid error. (Layout cycle detected)

I’m make a ScrollView.
And use setInterval for auto scrolling.
But, i saw error when time per interval.

this is log.

Layout cycle detected in GUI (Container name=undefined, uniqueId=359)


I like a show you on PG.
But, i saw error about grid.

PG : Babylon.js Playground

Plz… (ㅠㅠ)

Hello your PG is too complex and I honestly don’t know what to do :slight_smile:

Please simplify it and make sure that the error is visible when we run it

first, please look at this line 107.
https://www.babylonjs-playground.com/#XBJS47#1
why visible red line? what’s wrong there?
that was possible on ‘visual studio code’. :dizzy_face:

here we are:
https://www.babylonjs-playground.com/#XBJS47#3

Thank you!
I want show you important only.
Maybe, that is line 31-59. [https://www.babylonjs-playground.com/#XBJS47#3]
But I don’t know where the problem is. :sob:

And, i’m playground code is 99.99% same copy (except ‘as any’ & class name.).
ETC, big difference is my project has multi active scene(for world, for GUI).
Next is total error log.

|console.<computed>|@|index.js:1|
|---|---|---|
|r|@|backend.js:6|
|./Misc/logger.ts.Logger._ErrorEnabled|@|babylon.js:106123|
|e._layout|@|babylon.gui.min.js:16|
|e._layout|@|babylon.gui.min.js:16|
|e._layout|@|babylon.gui.min.js:16|
|e._layout|@|babylon.gui.min.js:16|
|e._layout|@|babylon.gui.min.js:16|
|e._layout|@|babylon.gui.min.js:16|
|e._render|@|babylon.gui.min.js:16|
|e._checkUpdate|@|babylon.gui.min.js:16|
|(anonymous)|@|babylon.gui.min.js:16|
|./Misc/observable.ts.Observable.notifyObservers|@|babylon.js:106616|
|./scene.ts.Scene._renderForCamera|@|babylon.js:146813|
|./scene.ts.Scene._processSubCameras|@|babylon.js:146890|
|./scene.ts.Scene.render|@|babylon.js:147105|
|(anonymous)|@|index.tsx:104|
|./Engines/engine.ts.Engine._renderLoop|@|babylon.js:32396|
|requestAnimationFrame (async)|||
|./Misc/tools.ts.Tools.QueueNewFrame|@|babylon.js:110072|
|./Engines/engine.ts.Engine._renderLoop|@|babylon.js:32412|
|requestAnimationFrame (async)|||
|./Misc/tools.ts.Tools.QueueNewFrame|@|babylon.js:110072|
|./Engines/engine.ts.Engine._renderLoop|@|babylon.js:32412|

Plz help me~ :pray:

I can not understand the error you are trying to highlight. A small repro of the error would definitely help and you ll have a fix in no time.

2 Likes

@sebavan
After all, this question is connected with my other question.

[[GroundMesh] How clear debuging error that 'ground mesh cloning']

I hope for constant attention. :pray: