Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-11712

Imported 3D models not visible in running app, built with 6.5.x: "Mesh data invalid"

    XMLWordPrintable

Details

    Description

      Application output in Creator shows:

      10:49:41: Starting C:\Users\user\Documents\build-UntitledProject40-release654\UntitledProject40App.exe...
      qsbc file is for a different Qt version
      Ignoring qsbc file C:/Users/user/AppData/Local/UntitledProject40App/cache/q3dshadercache-x86_64-little_endian-llp64/q3dshadercache.qsbc
      Mesh data invalid
      Mesh data invalid
      Mesh data invalid
      QSSG.warning: Failed to load mesh: :/qt/qml/Quick3DAssets/Lowpoly_car/meshes/lowpolyCar_mesh.mesh
      Mesh data invalid
      QSSG.warning: Failed to load mesh: :/qt/qml/Quick3DAssets/Box/meshes/box001_mesh.mesh
      10:49:59: C:\Users\user\Documents\build-UntitledProject40-release654\UntitledProject40App.exe exited with code 0

      Steps to reproduce:

      • Install latest snapshot of Design Studio 4.4, Creator (latest released) and Qt6.5.4 with QtQuick3D
      • Create a 3D project with DS
      • Import attached 3D assets to the project and add to scene
      • Generate Cmake build files (File -> Export project -> Generate Cmake Build Files...)
      • Open Creator and open CMakeList.txt of the DS project
      • Configure 6.5.4 Kit for the project
      • Build&Run
      • -> Build succeeds, but 3D models are not visible in running app, application output shows the above output.
      • Build and run with Qt6.6.1 works without this issue

       

      The reason for this is that the .mesh files created with 
      Qt 6.6 are not backwards compatible with Qt 6.5.4.

      Attachments

        1. lowpoly_car.obj
          86 kB
        2. Box.FBX
          15 kB

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              tanja_remes Tanja Remes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes