when i tried to unload a collection proxy this showed up
INFO:ENGINE: Loading data from: build/default
INFO:ENGINE: Initialised sound device ‘default’
INFO:DLIB: SSDP: Started on address 169.254.55.61
INFO:DLIB: SSDP: Started on address 192.168.0.2
ERROR:GRAPHICS: gl error 1281: invalid value
Assertion failed: 0, file …\src\opengl\graphics_opengl.cpp, line 768
britzl
2
Did it work before? Did you add something to the collection that perhaps could have caused it? Is it easy to reproduce?
when i tried to unload a collection and load another i showed up
britzl
4
Does it happen all the time? Can you share the project with me (Bjorn.ritzl@king.com)?
Here’s the code
function on_message(self, message_id, message, sender)
if message_id == hash("proxy_loaded") then
msg.post(sender, "init")
msg.post(sender, "enable")
elseif message_id == hash('die') then
msg.post("#main_menu_proxy", "enable")
msg.post("#level_proxy", "disable")
msg.post("#level_proxy", "final")
msg.post("#level_proxy", "unload")
elseif message_id == hash("proxy_unloaded") then
elseif message_id == hash("played") then
msg.post("#level_proxy", "load")
msg.post("#main_menu_proxy", "disable")
end
end
britzl
6
That is likely not the reason. It’s rather in an atlas, a tileset or a shader or something like that.