使用creator 3.5.2版本,在一台iOS11的机型上,报错了,报错信息如下:
WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
drawElements
r3 — webgl-commands.ts:2598
draw — webgl-primary-command-buffer.ts:69
frame — splash-screen.ts:380
t — splash-screen.ts:272
r3 — webgl-commands.ts:2598

补充一下,是webmobile平台
你最好是提供一个可复现的demo,不然太难猜了。
这是设备相关信息,能否支持webGL2.0呢
_bindingMappingInfo: e {maxBlockCounts: [3, 0, 6], maxSamplerTextureCounts: [4, 0, 7], maxSamplerCounts: [0, 0, 0], maxTextureCounts: [0, 0, 0], maxBufferCounts: [0, 0, 0], …}
_bindingMappings: {blockOffsets: [0, 9, 3], samplerTextureOffsets: [-3, 11, -2], flexibleSet: 1}
_caps: e {maxVertexAttributes: 16, maxVertexUniformVectors: 128, maxFragmentUniformVectors: 64, maxTextureUnits: 8, maxImageUnits: 0, …}
_cmdBuff: t {_objectType: 13, _objectID: 65537, _typedID: 65536, _queue: t, _type: 0, …}
_context: WebGLRenderingContext {canvas: , drawingBufferWidth: 1334, drawingBufferHeight: 750, activeTexture: function, attachShader: function, …}
_features: [true, true, false, true, false, false] (6)
_formatFeatures: [0, 0, 0, 0, 0, 0, 16, 16, 0, 0, …] (117)
_generalBarrierss: Map {1789763110 => t {_objectType: 16, _objectID: 65814, _typedID: 65536, _info: e, _hash: 1789763110, …}, 3674985505 => t {_objectType: 16, _objectID: 65816, _typedID: 65537, _info: e, _hash: 3674985505, …}} (2)
_gfxAPI: 6
_memoryStatus: e {bufferSize: 15053342, textureSize: 39655104, copy: function}
_numDrawCalls: 5
_numInstances: 0
_numTris: 527
_queue: t {_objectType: 14, _objectID: 65536, _typedID: 65536, _type: 0, numDrawCalls: 0, …}
_renderer: “Apple A10 GPU”
_samplers: Map {458778 => t {_objectType: 6, _objectID: 65549, _typedID: 65536, _info: e, _hash: 458778, …}, 458762 => t {_objectType: 6, _objectID: 65571, _typedID: 65537, _info: e, _hash: 458762, …}, 461450 => t {_objectType: 6, _objectID: 65654, _typedID: 65538, _info: e, _hash: 461450, …}, 461445 => t {_objectType: 6, _objectID: 65655, _typedID: 65539, _info: e, _hash: 461445, …}} (4)
_swapchain: t {_objectType: 1, _objectID: 65538, _typedID: 65536, _transform: 0, _colorTexture: t, …}
_textureBarriers: Map {} (0)
_textureExclusive: [true, true, true, true, true, true, true, true, true, true, …] (117)
_vendor: “Apple Inc.”
