UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
Wondering how to trace down where exactly this error is happening as I don’t get any line information when it occurs
If you’re on Windows or Linux and have modern hardware/drivers, you could try calling setOpenGLVersionRequired (OpenGLContext::openGL4_3) on your context. When running in debug mode, this will cause an assertion to fire as soon as an OpenGL warning is emitted, and you can then inspect the call stack to determine the cause of the issue.
If you’re stuck on an older version of OpenGL, perhaps because you’re using a mac, then you might have to just a call to glGetError after each gl function that could emit an error.