Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51667

Qt3DRender crash when updating Mesh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.7.0 RC
    • 5.6.0 RC
    • Qt3D
    • 36b6183bdf414a1363692c8f86e023ea305dcfba

      When dynamically updating Vertex data, there seems to happen a read access violation in "traverseTrianglesIndexed" after some time. It works fine until it crashes, which may be immediately, often after a second and sometimes it runs for minutes.

      To reproduce, modify the custom-mesh-qml example to animate one of the vertices. Modified main.qml is attached.

      Note: VSync is disabled system wide, so the app runs with a high framerate.

      I also attached a screenshot with the stack trace and local variables.

      The same behavior can be observerd when subclassing QGeometryRenderer and QGeometry and using a NumberAnimation to animate one of the properties.
      It seems to not crash when animating the meshResolution of a PlaneMesh, though.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            whagen Wieland Hagen
            rtag Robert
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes