I’m trying to follow along the tutorial on Defect Detection, but have been unable to successfully reproduce the instructions since I get the following error messages when i press “Recreate Replicator Graph”:
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin] /Replicator/SDGPipeline/OgnCreateProjectionMaterial: [/Replicator/SDGPipeline] OmniGraph Error: Obtained invalid number of proxy prims for the number of targets supplied.
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin] (from compute() at line 352 in c:\users\criis-arvr\appdata\local\ov\data\kit\usd.composer\2023.2\exts\3\omni.replicator.core-1.10.10+105.1.wx64.r.cp310\omni\replicator\core\ogn\python_impl\nodes\OgnCreateProjectionMaterial.py)
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin] /Replicator/SDGPipeline/OgnCreateProjectionMaterial: [/Replicator/SDGPipeline] Assertion raised in compute - ‘NoneType’ object is not iterable
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin] File “c:\users\criis-arvr\appdata\local\ov\data\kit\usd.composer\2023.2\exts\3\omni.replicator.core-1.10.10+105.1.wx64.r.cp310\omni\replicator\core\ogn\python_impl\nodes\OgnCreateProjectionMaterial.py”, line 398, in compute
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin] projection_prim = _create_mesh_shell(target_prim, projection_path)
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin] File “c:\users\criis-arvr\appdata\local\ov\data\kit\usd.composer\2023.2\exts\3\omni.replicator.core-1.10.10+105.1.wx64.r.cp310\omni\replicator\core\ogn\python_impl\nodes\OgnCreateProjectionMaterial.py”, line 86, in _create_mesh_shell
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin] normals_combined.extend(cur_prim.GetAttribute(“normals”).Get())
2025-04-15 13:16:12 [Error] [omni.graph.core.plugin]
I’ve implemented the fixes suggested in both these bug reports [BUG? Report]+[Fix] _create_mesh_shell in OgnCreateProjectionMaterial does not copy essential target_prim mesh primvars and properties & [BUG Report]+[Fix] OgnCreateProjectionMaterial fails to create a shell around non simple mesh , but still no luck.
The “Defect Sample Extension” seems to work when dealing with simple mesh geometries such as a torus, but when I attempt the same with for example the Nose Panel provided by the tutorial it doesn’t apply the scratches and produces the errors mentioned above.
I’m using USD Composer v2023.2.5, replicator v1.10.10.
Thank you in advance for your attention.