I’ve been trying to migrate all of my old code over to viewer api 2.0
I’m getting a weird error here, where it says “cannot read properties of undefined (reading ‘layers’)”.
When looking at my object on speckle web it shows it no problem.
Any idea here?