Page 1 of 1

GL Error on loading of the project

Posted: Fri Nov 09, 2018 4:15 am
by rrTea
Sometimes I get this error when opening projects, what does it mean? The project runs normally if launched (at least I can't see anything wrong with it) and I don't see any other problems (glitched textures, FPS drops or something like that). I tried to investigate myself but no luck, seems it's a generic error code.

Re: GL Error on loading of the project

Posted: Fri Nov 09, 2018 10:27 am
by Kjell
Hi rrTea,

Error 1282 / 0x0502 is GL_INVALID_OPERATION.
Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.
Not exactly sure what could be causing it .. maybe it's because some elements use so-called "lazy initialization" and something that isn't fully initialized yet is used in the preview window after loading. Or perhaps when loading a new project & unloading the current the preview panel doesn't get halted properly. In any case, it's not a very serious error ( as long as it only happens after loading and not during run-time ).

K

Re: GL Error on loading of the project

Posted: Fri Nov 09, 2018 10:30 am
by rrTea
I guess it's nothing to worry about then. Thanks!

Re: GL Error on loading of the project

Posted: Fri Nov 09, 2018 2:35 pm
by VilleK
I sometimes see this too. Indeed I would assume what Kjell writes is correct.