-
Creator 版本: 3.8.2
-
目标平台:Chrome、Mobile Chrome;WebGL 2
-
重现方式:必现
-
首个报错:
GL_IINVALID_OPERATION: Destination Texture cannot be immutable -
关键代码
import {VideoPlayer} from “cc”
this.videoPlayer = new VideoPlayer()
this._video = this.videoPlayer._impl._video;
…
this._texture0 = new Texture2D()
//
this._texture0.uploadData(this._video); -
之前哪个版本是正常的: webgl 1
-
重现概率: 必现
同样有这个报错,官方现在都不爱理评论了
我這邊也是觸發這個錯誤,但是可以完成Texture2D的更新。