Skip to content

Editor: Potential name conflicts when exporting multiple animated assets with GLTFExporter. #25179

@fengxinming

Description

@fengxinming

Description

This is part of error stacks

Uncaught (in promise) RangeError: Invalid array length
    at getMinMax (GLTFExporter.js:248:8)
    at GLTFWriter.processAccessor (GLTFExporter.js:1038:18)
    at GLTFWriter.processAnimation (GLTFExporter.js:1857:18)
    at GLTFWriter.processInput (GLTFExporter.js:2140:9)
    at GLTFWriter.write (GLTFExporter.js:453:8)
    at GLTFExporter.parse (GLTFExporter.js:113:10)
    at UIRow.<anonymous> (Menubar.File.js:252:12)

Reproduction steps

  1. git clone https://github.com/mrdoob/three.js.git
  2. npm install
  3. npm run dev
  4. after editor server running then import three.js/examples/models/gltf/Horse.glb and three.js/examples/models/gltf/Stork.glb into the editor scene
  5. click file menu to export a glb file
  6. open chrome dev tool to see error stacks

Code

none

Live example

none

Screenshots

image

Version

0.147.0

Device

Desktop

Browser

Chrome

OS

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions