UD-Viz icon indicating copy to clipboard operation
UD-Viz copied to clipboard

WebGL: readpixels error

Open clementcolin opened this issue 1 year ago • 8 comments

image

I get this error that freezes my 3D context. : WebGL: INVALID_OPERATION: readPixels: buffer is not large enough for dimensions using UD-Viz as a library and the SideBarWidget (cf here.

Resizing my window or displaying the debugger get rid of this and allow me to interact with the 3D Context.

Do you any idea where this come from ?

clementcolin avatar Apr 18 '23 08:04 clementcolin

I tried to reproduce your bug by cloning your repo, but looks like you are importing @ud-viz/browser using some witchcraft ^^ why are you not importing @ud-viz/browser in your package.json ?

valentinMachado avatar Apr 18 '23 12:04 valentinMachado

I wanted to work with a local UD-Viz version or the current UD-Viz version on the git (I could not wait for the 3.1 release :p ). So, the only solution I found was to use UD-Viz as a Git Submodules or a symbolic link to my local directory holding UD-Viz

clementcolin avatar Apr 18 '23 12:04 clementcolin

Ok I am not familiar with this workflow ahah You could also import @ud-viz/browser in your package.json as usual and just modify the version number by: file:the/path/to/your/local/udviz

valentinMachado avatar Apr 18 '23 12:04 valentinMachado

Just add the same error working on the #312 branch. It seams to appear kind of randomly, I will try to reproduce it

image

clementcolin avatar May 17 '23 09:05 clementcolin

image

This error appears also when asserting code on my laptop, updating the driver of my graphic card did not change anything.

clementcolin avatar Jun 05 '23 08:06 clementcolin

image

This error appears also when asserting code on my laptop, updating the driver of my graphic card did not change anything.

I am also seeing these warnings, they are not throw when running in google chrome making me thinking they are related to puppeteer

valentinMachado avatar Jun 05 '23 14:06 valentinMachado

It seems to be linked to the browser : I'm usually working on Brave, I tried on Firefox and I could not reproduce this bug with it

clementcolin avatar Jun 06 '23 06:06 clementcolin

This bug seems to be related to itowns, this issue should migrate overthere

valentinMachado avatar Sep 26 '23 11:09 valentinMachado