stride3d / stride3d/stride

Model import failing 'Can only merge simple MeshDrawData'

Open
#2,446 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release

Version: 4.2.0.2149 and up (tested until 4.2.0.2188)

Platform(s): Windows

Describe the bug
During compilation, the asset compiler fails with [AssetCompiler] Unexpected error while importing model [HighDefinitonModels/MyModelName] from import [C:/Resources/MyModelName.fbx]. Exception: InvalidOperationException: Can only merge simple MeshDrawData.

To Reproduce
Steps to reproduce the behavior:
Import the following model with the import option No skeleton.
Model.zip

image

Screenshots
image

Additional context
This worked in version 4.2.0.2188 and lower.
Importing only fails on some models, like the one included above.
If I import the model with the skeleton, everything seems to work fine.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached Model.zip and reproduce the import using the No skeleton option on Windows, noting the AssetCompiler exception. Compare that path with importing the same model with a skeleton and with the versions identified in the report. Done means the affected model imports without the “Can only merge simple MeshDrawData” failure while the working skeleton path remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.