Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DAE file parsing error

I have exported a sphere.dae file from Blender and imported in Xcode. This mesh file has texture and normal maps. I have applied the textures and normal maps to the sphere file in the Scenekit editor and the mesh file is properly visible in the editor.

However, when I deploy the build on real iOS device, I get the following error:

[SceneKit] Error: failed to parse key path /Roundcube_003.geometry.materials - missing '['

On the device, the sphere mesh file is visible but the textures are not visible. I have following questions:

  1. Is this the problem from Blender or Xcode? Other mesh files exported from the Blender are properly visible.
  2. The error suggests that the Scenekit is not able to parse the materials data from the mesh file. Is this understanding correct? If yes, how can I fix this issue?

I would appreciate any suggestions and thoughts on this topic. Thank you.

like image 247
Naresh Avatar asked Apr 22 '26 00:04

Naresh


1 Answers

This may be due to your reference overrides of the objects. I had the same problem. All you have to do is to remove the reference overrides, you can find the overrides at the third bar of the right side panel (not sure of the name)

like image 96
Aakash Mehta Avatar answered Apr 23 '26 16:04

Aakash Mehta