#LS5 2D view broken

3 messages · Page 1 of 1 (latest)

grizzled brook
#

5.17.2.26011319
2D Scene window is black and I get and error in the console:

[Profile::checkErrors] OpenGL error: 0x506 ('GL_INVALID_FRAMEBUFFER_OPERATION'), function: 'void *__cdecl sg::backend::opengl::Profile::mapBufferRange(unsigned int,__int64,__int64,unsigned int) const', file: 'C:\Snapchat\Dev_nlo_cache\H\30af6c\1\src\backend\opengl\src\Profile.cpp:3092,
Rendering failed 5 times in a row.

Thoughts? Thanks in advance!

neat tartan
#

Hey! 👋 This one’s almost always a graphics backend hiccup, not your project.
That OpenGL framebuffer error usually means Lens Studio ended up in a bad render state. The fastest fixes are:
First, fully close Lens Studio and reopen it. If that doesn’t help, reset the editor layout and switch the viewport from 2D to 3D and back again.
If it’s still black, go into Preferences and toggle the graphics API. Switching from OpenGL to DirectX or vice versa forces a clean reinit and usually fixes the framebuffer issue immediately.
Also double check your GPU drivers are up to date and that Lens Studio is actually running on your discrete GPU, not an integrated one. On laptops this matters a lot.
If none of that works, clearing the Lens Studio cache can fix corrupted render state. After that, the 2D scene view should come back normally 👍

grizzled brook