R
Everything is up to date now. Still same issue. I will contact helpdesk but this also happens on my laptop. So I think something is wrong with the project file.Looks like it's not able to create the basic screen/back buffer. Is your card fully DX11 compatible? Update your drivers+windows etc...
Failing that... contact the helpdesk and include a DXDiag output.
Good idea, yeah it seems to just be this project.Have you tried building a blank project yet? This would tell you whether the problem lies with your project specifically or your general setup.
This helped me narrow it down to a room changing issue, thanks. Working on a solution now.Seems like a bug with GM to me. I had these exact same error messages, which showed up at the start of every room and when I change from fullscreen to windowed or vice versa (when the camera is modified). I fixed it by creating a new camera every time a room starts instead of changing the existing camera manually. It seems somehow the width/height of the view was considered -1/-1, even when I set "view_set_camera()" and "camera_set_view_size()" to the correct values, except when making it fresh with "camera_create_view()".
Also interesting to note, is that after the five errors, the game actually played like normal, until the camera changed again. So even though it showed those errors for one frame, I guess it somehow fixed it for the next frame.
Spent the evening tracking this down.
I had a problem with camera_get_view_width and camera_get_view_height that resulted in trying to create a surface with a width and height both equal to zero.
I'm likely just doing something wrong there, but fixed these popups for now by hardcoding values into my surface_create() call.
surface_create(0,0) = these same windows.
surface_create(960,360) = no problems.
Documentation calls out surface_create needing specific power of 2 values for parameters for some platforms. Worth checking out.
Hope this helps someone.
Cheers!
shader_set_uniform_f(numberOfLightsUniform, index/4);