AnsweredAssumed Answered

Radeon ProRender can't render PBR materials on blender

Question asked by josuemontanoa on Sep 13, 2018

Hi,

 

I just installed Radeon ProRender on my mid 2015 MacBook Pro. I opened blender 2.79b and I created a very simple PBR material for the default cube. Unfortunately the render found this error and can't render the scene:

 

2018-09-13 19:13:39,416 INFO rpr.default [140735481009024]:  using GPU(0): "AMD Radeon R9 M370X (Metal)"
2018-09-13 19:13:39,419 INFO rpr.default [140735481009024]:  total used 1 gpu, flags(1025)
2018-09-13 19:13:39,419 INFO rpr.default [140735481009024]:  Enabling Metal GPU rendering
2018-09-13 19:13:39,419 INFO rpr.default [140735481009024]:  tracing: off
2018-09-13 19:13:39,423 INFO rpr.default [140735481009024]:  RenderLayers create...
2018-09-13 19:13:39,423 INFO rpr.default [140735481009024]:  added aov: default
2018-09-13 19:13:39,425 INFO rpr.default [140735481009024]:  camera.focal_length:  35.0
2018-09-13 19:13:39,426 INFO rpr.default [140735481009024]:  camera.sensor_size: (64.0, 19.066666666666666)
2018-09-13 19:13:39,430 CRITICAL rpr.export [140735481009024]:  Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 770, in export_iter
    yield from self._export_objects(self.scene.objects)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 796, in _export_objects
    yield from self.sync_updated_objects(set(self.visible_objects))
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 1303, in sync_updated_objects
    self.objects_sync.update_material(objects, material)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 281, in update_material
    self.add_material(blender_mat, key)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 307, in add_material
    self.scene_synced.add_material(key, blender_mat)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/sync.py", line 595, in add_material
    rpr_material.parse(blender_mat)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1949, in parse
    self.shader = self.parse_root_node(blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1956, in parse_root_node
    return self.parse_node(None, blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 2032, in parse_node
    return registered_nodes[name](blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 898, in parse_shader_node_output
    shader = self.parse_node(socket)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 2032, in parse_node
    return registered_nodes[name](blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1513, in parse_shader_node_pbr3
    if sss_weight_socket.is_linked or sss_weight_socket.default_value:
AttributeError: 'NoneType' object has no attribute 'is_linked'

2018-09-13 19:13:39,430 INFO rpr.image_cache [140735481009024]:  images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb
2018-09-13 19:13:39,430 INFO rpr.downscaled_image_cache [140735481009024]:  images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb
2018-09-13 19:13:39,431 INFO rpr.core_image_cache [140735481009024]:  CoreImageCache(original): image_size=None, contexts number=0
2018-09-13 19:13:39,431 INFO rpr.core_downscaled_image_cache [140735481009024]:  CoreImageCache(downscaled): image_size=None, contexts number=0
Exception ignored in: <bound method RPREngine.__del__ of <bpy_struct, RPREngine invalid>>
Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 83, in __del__
    if self.viewportrenderer_space_data:
ReferenceError: StructRNA of type RPREngine has been removed
Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 34, in execute
    start_viewport_rendering(context)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 49, in start_viewport_rendering
    viewport_renderer.start(context.scene)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 74, in start
    self.set_scene(scene)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 87, in set_scene
    self.export_scene(scene)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 108, in export_scene
    self.visible_objects = self.scene_exporter.export()
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 759, in export
    self._export()
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 762, in _export
    for _ in self.export_iter():
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 770, in export_iter
    yield from self._export_objects(self.scene.objects)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 796, in _export_objects
    yield from self.sync_updated_objects(set(self.visible_objects))
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 1303, in sync_updated_objects
    self.objects_sync.update_material(objects, material)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 281, in update_material
    self.add_material(blender_mat, key)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 307, in add_material
    self.scene_synced.add_material(key, blender_mat)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/sync.py", line 595, in add_material
    rpr_material.parse(blender_mat)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1949, in parse
    self.shader = self.parse_root_node(blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1956, in parse_root_node
    return self.parse_node(None, blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 2032, in parse_node
    return registered_nodes[name](blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 898, in parse_shader_node_output
    shader = self.parse_node(socket)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 2032, in parse_node
    return registered_nodes[name](blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1513, in parse_shader_node_pbr3
    if sss_weight_socket.is_linked or sss_weight_socket.default_value:
AttributeError: 'NoneType' object has no attribute 'is_linked'

location: /Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py:189

location: /Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py:189
Error: Exception ignored in: <bound method RPREngine.__del__ of <bpy_struct, RPREngine invalid>>
Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 83, in __del__
    if self.viewportrenderer_space_data:
ReferenceError: StructRNA of type RPREngine has been removed
Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 34, in execute
    start_viewport_rendering(context)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engin... truncated2018-09-13 19:13:39,456 CRITICAL rpr.render [140735481009024]:  ERROR: It is recommended to restart Blender
 view_update: Exception Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 437, in view_update
    self._view_update(context)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 459, in _view_update
    bpy.ops.rpr.view_render_start()
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Exception ignored in: <bound method RPREngine.__del__ of <bpy_struct, RPREngine invalid>>
Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 83, in __del__
    if self.viewportrenderer_space_data:
ReferenceError: StructRNA of type RPREngine has been removed
Traceback (most recent call last):
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 34, in execute
    start_viewport_rendering(context)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 49, in start_viewport_rendering
    viewport_renderer.start(context.scene)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 74, in start
    self.set_scene(scene)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 87, in set_scene
    self.export_scene(scene)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 108, in export_scene
    self.visible_objects = self.scene_exporter.export()
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 759, in export
    self._export()
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 762, in _export
    for _ in self.export_iter():
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 770, in export_iter
    yield from self._export_objects(self.scene.objects)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 796, in _export_objects
    yield from self.sync_updated_objects(set(self.visible_objects))
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 1303, in sync_updated_objects
    self.objects_sync.update_material(objects, material)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 281, in update_material
    self.add_material(blender_mat, key)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/export.py", line 307, in add_material
    self.scene_synced.add_material(key, blender_mat)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 436, in wrapped
    return f(*argv, **kwargs)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/sync.py", line 595, in add_material
    rpr_material.parse(blender_mat)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1949, in parse
    self.shader = self.parse_root_node(blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1956, in parse_root_node
    return self.parse_node(None, blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 2032, in parse_node
    return registered_nodes[name](blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 898, in parse_shader_node_output
    shader = self.parse_node(socket)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 2032, in parse_node
    return registered_nodes[name](blender_node)
  File "/Users/josuemontano/Library/Application Support/Blender/2.79/scripts/addons/rprblender/core/nodes.py", line 1513, in parse_shader_node_pbr3
    if sss_weight_socket.is_linked or sss_weight_socket.default_value:
AttributeError: 'NoneType' object has no attribute 'is_linked'

location: /Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py:189


 

Screen Shot 2018-09-13 at 7.20.20 PM.png

 

Is this a bug?

Outcomes