Skip to content

ios中使用Label出现错误 #287

@TK7777

Description

@TK7777

Version

3.8.3

Reproduction link

https://spritejs.com/#/zh-cn/block?id=%e6%96%87%e5%ad%97-label

Steps to reproduce

使用官方文档中的Label方法,在安卓中能正常绘制文字,ios失败

  1. ios版本: 16.5.1
  2. 开发环境: vite3.2.4

What is expected?

安卓与ios都能成功绘制文字

What is actually happening?

ios使用Label方法后报错,报错信息如下
TypeError: Type error /node_modules/.vite/deps/spritejs.js:5978:26 texImage2D@[native code] createTexture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions