Open NicTanghe opened 4 years ago
I have the same problem. I created a usdz with iPad2020 "Lidar room scanner" and tried to import the file with blender 2.83 on linux opensuse tumbleweed. See error:
Traceback (most recent call last):
File "/home/peter/.config/blender/2.83/scripts/addons/io_scene_usdz/__init__.py", line 54, in execute
return import_usdz.import_usdz(context, **keywords)
File "/home/peter/.config/blender/2.83/scripts/addons/io_scene_usdz/import_usdz.py", line 34, in import_usdz
usdData = crate.readUsd()
File "/home/peter/.config/blender/2.83/scripts/addons/io_scene_usdz/crate_file.py", line 742, in readUsd
index, jump = self.readUsdItem(data, index)
File "/home/peter/.config/blender/2.83/scripts/addons/io_scene_usdz/crate_file.py", line 701, in readUsdItem
index, itemJump = self.readUsdItem(prim, index)
File "/home/peter/.config/blender/2.83/scripts/addons/io_scene_usdz/crate_file.py", line 701, in readUsdItem
index, itemJump = self.readUsdItem(prim, index)
File "/home/peter/.config/blender/2.83/scripts/addons/io_scene_usdz/crate_file.py", line 682, in readUsdItem
classType = ClassType[metadata.pop('typeName')]
File "/home/peter/Blender/blender-2.83.2-linux64/2.83/python/lib/python3.7/enum.py", line 352, in __getitem__
return cls._member_map_[name]
KeyError: 'Camera'
location: <unknown location>:-1
Same here, but instead I get an error of struct.error: unpack requires a buffer of 33728 bytes
.
Tested in Blender 2.90.1 on Arch Linux.
When i try to import a usdz file exported from houdini i get the following error.