GL Error on loading of the project

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

GL Error on loading of the project

Post 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.
Attachments
(from the console)
(from the console)
剪貼簿圖片 (17).png (469 Bytes) Viewed 7356 times
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Re: GL Error on loading of the project

Post 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
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: GL Error on loading of the project

Post by rrTea »

I guess it's nothing to worry about then. Thanks!
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: GL Error on loading of the project

Post by VilleK »

I sometimes see this too. Indeed I would assume what Kjell writes is correct.
Post Reply