Skip to content

Larger models render in a broken state #11

Description

@NoTuxNoBux

Larger models render in a broken state. The models I'm testing happen to be Wavefront OBJs, but I don't think this is related to #6. Simpler or smaller models seem to import fine.

I've found that these models use meshes that have indices in faces that are higher than 2^16, which are disabled by Unity by default.

afbeelding

Setting the index format to be Uint32 for Mesh on MeshImporter.cs#L184 seems to fix it:

afbeelding

I could make a pull request for it, if you want, but I'm not using this project directly myself. In any case, I hope this helps someone, like this project provided guidance for me in getting Assimp data converted to Unity!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions