Maniphest T55519

Blender (silently) fails when importing Sketchup Collada File
Confirmed, NormalKNOWN ISSUE

Assigned To
Gaia Clary (gaiaclary)
Authored By
Matthew Moore (moorage)
Jun 18 2018, 7:48 AM
Tags
  • BF Blender
  • Import/Export
  • Collada
  • Pipeline, Assets & I/O
Subscribers
Dalai Felinto (dfelinto)
Gaia Clary (gaiaclary)
Kopan Manut (kopmarn)
Matthew Moore (moorage)
Philipp Oeser (lichtwerk)
Sean Robertson (seanr)
spam (ainsleyash)
1 More Subscribers

Description

System Information
Mid-2014 MacBook Pro with Intel Iris Pro 1536 MB Graphics

Blender Version
Broken: Version 2.79 (2.79 2017-09-11, Blender Foundation)

Short description of error
Tried to import a .dae file downloaded from Sketchup, and nothing happened after selecting the file from the Import dialog.

Exact steps for others to reproduce the error

On the command line, I see the following:

Read prefs: /Users/myuser/Library/Application Support/Blender/2.79/config/userpref.blend
Color management: display "sRGB" used by scene not found, setting to default ("sRGB / BT.709").
Color management: scene view "Default" not found, setting default "sRGB EOTF".
Color management: sequencer colorspace "sRGB" not found, will use default instead.
found bundled python: /Applications/blender.app/Contents/Resources/2.79/python
drop file /Users/myuser/Downloads/model.dae
Writing node id='ID4', name='skpC9F6'
Writing node id='ID5', name='instance_1'
Cannot find object for node referenced by <instance_node name="">.
Writing node id='ID6', name='_5299-RA'
Writing node id='', name='SketchUp'
Writing node id='', name='skp_camera_Last_Saved_SketchUp_View'
Writing node id='ID3', name='instance_0'
create <instance_node> under node id=ID3 from node id=ID4
got 25 library nodes to free

The line Cannot find object for node referenced by <instance_node name="">. being output does make me wonder if something is going wrong. However, I can see the file OK in a https://threejs.org/ based Collada viewer (and the associated https://threejs.org/examples/js/loaders/ColladaLoader.js )

Has anyone else seen this problem in 2.79b?

Related Objects

Mentioned Here
rB5dc1183580e9: Codesign: Possible fix for stamp appearing prior to archive

Event Timeline

Matthew Moore (moorage) created this task.Jun 18 2018, 7:48 AM
Philipp Oeser (lichtwerk) assigned this task to Gaia Clary (gaiaclary).Jun 18 2018, 1:01 PM
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.
Philipp Oeser (lichtwerk) added subscribers: Gaia Clary (gaiaclary), Philipp Oeser (lichtwerk).

Hm, looking at this part of the code, I can observe:

  • importer wont find node id="ID6" (seems it hasnt been added to the object_map because it is defined after the node that is actually trying to instance it...)
  • to get around this I changed the .dae and put the ID6 before the node that is actually trying to instance it [and tada: it partially works...] see modified
  • but then again, it doesnt pick up all 24 instance_geometry defined in ID6 (name="_5299-RA"), but only takes one (but apparently tried 24 times -- I'm ending up with something called "_5299-RA.024")

Anyways, before I sink more time into this, I would kindly ask @Gaia Clary (gaiaclary) about the known status here [regarding instance_node]...

Gaia Clary (gaiaclary) added a comment.Jun 18 2018, 1:36 PM

i believe that the order of appearance of the data should not be important for the importer. In fact the importer processes the imported file twice so that it first collects the data and then assigns the data to blender objects. Please can you take a look at the collada branch? maybe things are different/better/resolved there...

To calrify: I originally planned to move the collada branch into master in april, but then i got distracted to something else so that i am delayed a bit :( But it may be good to step into the collada branch for any future work as it is really changed a lot and needs some adjustments for recent changes anyways...

Kopan Manut (kopmarn) added a subscriber: Kopan Manut (kopmarn).EditedOct 31 2018, 4:13 PM

I am also facing same issue. Unable to import. I am trying to make exactly this type of toilets https://bestflushingtoilet.org/american-standard-toilets/champion-4-reviews/. But, I am failing to do it.

Dalai Felinto (dfelinto) removed Gaia Clary (gaiaclary) as the assignee of this task.Dec 23 2019, 4:36 PM
Dalai Felinto (dfelinto) added a project: Tracker Curfew.
Sybren A. Stüvel (sybren) assigned this task to Gaia Clary (gaiaclary).Feb 4 2020, 4:12 PM
Sybren A. Stüvel (sybren) added a subscriber: Sybren A. Stüvel (sybren).

@Gaia Clary (gaiaclary) I can still reproduce the problem on current Blender 2.82 alpha @ 5dc1183580e932870064b44246e8fb750a8d806e. Would you consider this a bug or a known limitation?

Gaia Clary (gaiaclary) added a comment.EditedFeb 5 2020, 9:07 PM

I look at this.

Richard Antalik (ISS) removed a project: Tracker Curfew.Feb 10 2020, 9:26 PM
Richard Antalik (ISS) changed the subtype of this task from "Report" to "Bug".
Bastien Montagne (mont29) added a project: Pipeline, Assets & I/O.Jun 11 2020, 5:32 PM
Bastien Montagne (mont29) moved this task from Backlog to Bugs on the Pipeline, Assets & I/O board.Jun 11 2020, 6:05 PM
Bastien Montagne (mont29) moved this task from Bugs to Known Issues on the Pipeline, Assets & I/O board.Jul 9 2020, 11:55 AM
Bastien Montagne (mont29) changed the subtype of this task from "Bug" to "Known Issue".
Sean Robertson (seanr) added a subscriber: Sean Robertson (seanr).Feb 17 2021, 8:12 PM

Same issue in 2.93 alpha. Is there at least a passable workaround for this? The file I've got is 24MB, so not sure manually editing it is practical. ;)

spam (ainsleyash) added a subscriber: spam (ainsleyash).Feb 23 2021, 7:55 PM
This comment was removed by Dalai Felinto (dfelinto).
spam (ainsleyash) added a comment.Mar 15 2021, 5:50 PM
This comment was removed by Dalai Felinto (dfelinto).
Dalai Felinto (dfelinto) added a subscriber: Dalai Felinto (dfelinto).Mar 15 2021, 6:12 PM
Omar Emara (OmarSquircleArt) merged a task: T96383: broken dae import.Mar 21 2022, 8:46 AM
Omar Emara (OmarSquircleArt) added a subscriber: Torsten Curdt (tcurdt).