ObjectLoader: TypeError: TYPED_ARRAYS[type] is not a constructor

Hi everyone,

I’m new to ThreeJS and this is the first time I create a topic here.

I’m trying to use ObjectLoader to parse a JSON Object Scene format 4.

But I always got this error:

The Scene data is:


Where did I go wrong?

I found the reason is image buffer data. If I remove textures and images from JSON Object Scene, the model will be shown without textures.

I’m not sure, maybe ObjectLoader couldn’t work with this format ?

Solved: change type from Buffer to Uint8Array