简体   繁体   中英

WebGL: INVALID_OPERATION: uniformMatrix4fv / [WebGL-00000A18072FEA00] GL_INVALID_OPERATION

I'm new and it's also the first question I ask on a forum so forgive me if I don't formulate my question correctly, don't hesitate to advise me on this point too:)

I am currently developing an application that displays 360° images and I use the BabylonJS library for that.

So I have a navbar that allows me to navigate between the different 360 locations. But as soon as I change the 360 image via the navbar, I get these errors repeat in my console.

So if anyone can help me it would be really appreciated.

PS: If you need to see the code tell me !

thank you !

Error:

[.WebGL-00000A18072FEA00] GL_INVALID_OPERATION: Must have element array buffer bound.

WebGL: INVALID_OPERATION: uniformMatrix4fv: location is not from current program

After a lot of testing I finally found the problem and therefore the solution. this is due to the fact that I had several scenes that overlapped. To solve this problem I simply deleted the previous scene before creating a new one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM