Skip to content

Viewing this model in AR mode on Android causes Scene Viewer to crash #5148

Description

@chadt-3dc

I have pinpointed the issue to the fact that this model has no vertices above the Y=0 ground plane. If I create another version of the file with all the vertices shifted a tiny amount above the Y=0 plane, or a version with the transform itself shifted up a tiny amount, then it no longer crashes. I think it's because it's using only the mesh data found above the Y=0 plane to calculate the near and far plane values for the camera, but since there isn't any, it uses near=0 and far=0 and then Filament crashes.

04-21 13:46:24.330 E Filament: reason: Camera preconditions not met in setCustomProjection(): near = far = 0
04-21 13:46:24.485 F libc    : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL)

Light.zip

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions