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

Error in component creation when importing certain 3D assets at the same time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • QDS 1.5.0
    • QDS 1.5.0 Beta1
    • 3D Asset Importer
    • None
    • 2
    • d39f89d13bab9abeb431eb4d6508300dc82f6c6e (qt-creator/qt-creator/qds-1.50)
    • QDS 3D - Week 17/18

    Description

      Encountered an error "Component could not be created" when importing the attached 3D assets "lowpolycar.glb" and "lowpoly_car.obj" simultaneously. When testing this, Design Studio also crashed a couple of times at the time of importing the assets, but I could not find a reliable way to reproduce the crash. It seemed to happen randomly.

      Steps to reproduce:

      1. Create a new project
      2. Click "Add New Assets.." button in the Assets tab
      3. Multiselect the "lowpolycar.glb" and lowpoly_car.obj" assets and click "Open"
      4. Click Import (if the Design Studio crashes, it happens at this point)
      5. Go to QML Types tab and add the imports by clicking the flow tag buttons
      6. Under "My Quick3D Components" section it can be seen that a thumbnail for "lowpolycar" was created correctly but for the lowpoly_car it is not what is should be
      7. Drag and drop both items to the rectangle in the navigator
      8. Navigator shows an error in the lowpoly_car component (see picture)
      9. Right click the lowpoly_car in the navigator and choose "Go into component"
      10. Click the Text Edit open
      11. There is a Timeline in the qml file that should not be there, it belongs to the other imported component (see picture)

      If the assets are imported separately, or "lowpoly_car.obj" is renamed to something completely different, no errors occur. 

      Attachments

        1. component_not_created.PNG
          4 kB
          Tanja Remes
        2. lowpoly_car.obj
          83 kB
          Tanja Remes
        3. lowpolycar.glb
          484 kB
          Tanja Remes
        4. timeline_unknown_component.PNG
          31 kB
          Tanja Remes

        Activity

          People

            e0348803 Miikka Heikkinen
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: