creator 2.4.4 动态替换spriteFrame 出现黑块 控制台报警告⚠️

  • Creator 版本:2.4.4

  • 目标平台:全平台

  • 重现方式:

  • 首个报错:[.WebGL-0x7fa9a2009e00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It might be non-power-of-2 or have incompatible texture filtering (maybe)?
    ?_t=1612175734979:1 [.WebGL-0x7fa9a2009e00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It might be non-power-of-2 or have incompatible texture filtering (maybe)?
    ?_t=1612175734979:1 [.WebGL-0x7fa9a2009e00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It might be non-power-of-2 or have incompatible texture filtering (maybe)?
    ?_t=1612175734979:1

    截屏2021-02-01 下午6.47.38

  • 之前哪个版本是正常的: 2.4.2

  • 手机型号:

  • 手机浏览器:

  • 编辑器操作系统:mac

  • 重现概率:我的项目中100%

demo:NewProject_3.zip (956.1 KB)

我也遇到了,怎么解决的

你看一下你的sprite.spriteFrame是否赋值了undefined

该主题在最后一个回复创建后14天后自动关闭。不再允许新的回复。