Got hit with the following:
Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FFD8BE24013
Module : C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_e0a5a1b06de180e3\nvoglv64.dll
I can reproduce this with:
- Start a new default cube scene and turn on the render engine (just the builtin fallback shader is fine)
- Change the default light to a sun
- Delete the default cube
- Add another mesh object
- Use the aim widget on the light to change the orientation
Step 5 causes the exception while calling glDrawElements on the new mesh. Changing light orientation through the UI instead of the aim widget in the viewport doesn't crash. Neither does jumping back to the default viewport render mode, moving the aim widget, and then jumping back to my renderer.
Memory leak? Or memory freed somewhere that I'm still holding onto via the VAO? I assumed I'm safely managing it but maybe I'm missing something there.
Got hit with the following:
I can reproduce this with:
Step 5 causes the exception while calling
glDrawElementson the new mesh. Changing light orientation through the UI instead of the aim widget in the viewport doesn't crash. Neither does jumping back to the default viewport render mode, moving the aim widget, and then jumping back to my renderer.Memory leak? Or memory freed somewhere that I'm still holding onto via the VAO? I assumed I'm safely managing it but maybe I'm missing something there.