Skip to content

FBX Mesh is not loaded correctly if UVIndex includes -1 values #695

Closed

Description

@dankex

The following element in a node "Geometry: 1079556377056, "Geometry::", "Mesh" {" is not processed correctly. When this LayerElementUV element is present in a mesh, the mesh is omitted totally, and the node has no mesh. It can be seen from both the dump file and the loaded model.

       LayerElementUV: 0 {
            Version: 101
            Name: "map1"
            MappingInformationType: "ByPolygonVertex"
            ReferenceInformationType: "IndexToDirect"
            UV: *516 {
                a:  ................
            }
            UVIndex: *512 {
                a:  ................
            }
        }

The issue happens when UVIndex include the value -1. The same file can be imported with FBX review.

Activity

  1. changed the title [-]FBX Mesh is not loaded correctly[/-] [+]FBX Mesh is not loaded correctly if UVIndex includes -1 values[/+] on Dec 7, 2015
  2. rickomax commented on Mar 13, 2018

    @rickomax
    Contributor

    I've fixed this in code. I'll make a pull-request later.
    Thank you!

  3. kimkulling commented on Mar 30, 2018

    @kimkulling
    Member

    Fixes were merged, I will close the issue-

  4. added a commit that references this issue on Dec 11, 2023
  5. added a commit that references this issue on Feb 5, 2024
  6. added
    FBX
    on Apr 17, 2025
  7. added a commit that references this issue on Jul 1, 2026
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

    FBX

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions