duelyst icon indicating copy to clipboard operation
duelyst copied to clipboard

[P2] Uncaught TypeError: WebGLRenderingContext.bindBuffer: Argument 2 is not an object.

Open willroberts opened this issue 3 years ago • 2 comments

Summary

Noticed this error + stack trace while playing a practice game locally:

Uncaught TypeError: WebGLRenderingContext.bindBuffer: Argument 2 is not an object.
    postStep vendor.js:52124
    postStep vendor.js:51396
    update BaseParticleSystem.js:1337
    resetSystem BaseParticleSystem.js:1163
    updateSourceToTarget BaseParticleSystem.js:584
    setSourceScreenPosition BaseParticleSystem.js:250
    onResize BattleMap.js:303
    triggerEvents eventbus.js:156
    trigger eventbus.js:89
    resize Scene.js:270
    onResize application.coffee:3489
    later vendor.js:16021
    setTimeout handler*later vendor.js:16017
    setTimeout handler*later vendor.js:16017
    setTimeout handler*_.debounce/< vendor.js:16033
    dispatch vendor.js:4676
    handle vendor.js:4360
vendor.js:52124:8

I'm not sure what the impact is, yet. It seems specific to BattleMap.js.

Impacted services

[x] The frontend app [ ] The game servers [ ] Game builds or automation scripts [ ] Tests or Github Actions [ ] Infrastructure (Terraform)

Steps to reproduce

  1. Play a practice game; should appear in the console.

Environment information

  • Operating system: Mac
  • Browser: Firefox
  • Browser version: 105.0.1

willroberts avatar Oct 04 '22 22:10 willroberts

This appears to also result in disappearing history icons.

willroberts avatar Oct 24 '22 13:10 willroberts

Relevant code: https://github.com/open-duelyst/duelyst/blob/63cc664/app/view/layers/game/BattleMap.js#L232L259

willroberts avatar Oct 24 '22 14:10 willroberts