Camera suddenly stopped working (Failed to get USD Attribute)


My camera suddenly stopped working. It was working all day but now at the end of the day it stopped working.

I already tested it with some older code and with old usd files but that still does not work.

One thing i notice is that first the camera model was visibile in isaac sim and now it is standard on invisible.

Can anybody help me? I updated cache can this be the consequences of that?

This is the same problem I think but there is no solution: Replicator sometimes seems to break the existing Camera

I get this error:
2023-06-16 13:59:03 [83,075ms] [Error] [omni.graph.core.plugin] Failed to get USD Attribute for /Render/PostProcess/SDGPipeline/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0_LdrColorSDExportRawArray.inputs:cudaStream of type uint64
2023-06-16 13:59:03 [83,075ms] [Error] [omni.graph.core.plugin] Failed to get USD Attribute for /Render/PostProcess/SDGPipeline/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0_LdrColorSDExportRawArray.inputs:exec of type uint (execution)
2023-06-16 13:59:03 [83,075ms] [Error] [omni.graph.core.plugin] Failed to get USD Attribute for /Render/PostProcess/SDGPipeline/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0_LdrColorSDExportRawArray.inputs:renderResults of type uint64
2023-06-16 13:59:03 [83,075ms] [Error] [omni.graph.core.plugin] Failed to get USD Attribute for /Render/PostProcess/SDGPipeline/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0_LdrColorSDExportRawArray.inputs:swhFrameNumber of type uint64

Pieces of my Code:

   def _on_click_make_picture(self):
        #rgb =[:,:,3]
        rgb =["rgba"]
        depth =["distance_to_camera"]
        max_depth = np.max(np.float32(depth))
        # Depth works well if the background is not going to infinit make a wall around the robot and it works.
        depth = np.nan_to_num(x=depth,nan=max_depth)
        depth = (np.float32(depth)/np.max(np.float32(depth)))*255
        rgb_image = Image.fromarray(np.uint8(rgb)).convert('RGB')
        depth_image = Image.fromarray(np.uint8(depth)).convert('L')"/home/vbti/Projects/isaac_sim/part_inspection/extension_tm5_900/isaac_sim_rgb.png")"/home/vbti/Projects/isaac_sim/part_inspection/extension_tm5_900/isaac_sim_depth.png") = Camera(
            resolution=(1280, 720),
            orientation=rot_utils.euler_angles_to_quats(np.array([-90, -90, 0]), degrees=True),
# Set camera position and parameters
position_camera =
# Get the joints of the robot
self._articulation = Articulation(robot_prim_path)

# Add user-loaded objects to the World
world = World.instance()

Hi @nickbakker40 - The error messages you are seeing are indicating that the program is failing to get certain attributes from the USD file. These attributes include cudaStream , exec , renderResults , and swhFrameNumber .

This could be due to a few reasons:

  1. The attributes might not exist in the USD file. Please check the USD file to ensure these attributes are present.

  2. The attributes are not accessible due to permissions or other restrictions. Make sure the program has necessary permissions to access the attributes.

  3. The types of the attributes might not be correct. The error messages indicate that the program is expecting cudaStream , renderResults , and swhFrameNumber to be of type uint64 and exec to be of type uint . If these attributes are not of the expected types, the program will fail to get them.