Error using only some assets

SketchUp version : Pro 2020
Skatter version (Skatter dialog > Options > About) : 2.1.7
OS : Windows 10
Description of the issue :
Are you able to reproduce the issue every time? (If yes, how?) : Yes
Error in Ruby Console? (Window > Ruby Console) :

When I try to render a scene using any of the free assets such as the skatter grass I get an error message saying: "unfedined method ‘[]’ for nil:NilClass C:/ … / ruby/live_scene/proxy_materiual_20_:in’export!’

If I delete this instance of skatter and try using another downloaded asset there is no issue.

I am able to reproduce this with any scenes, also a completely new file.

image

Error log exported to vray:
live_scene(525):error: undefined method []' for nil:NilClass C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/proxy_material:20:in export!’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/proxy_material:15:in initialize' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/geom_mesh_file_controller:11:in new’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/geom_mesh_file_controller:11:in update!' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/instance_controller:16:in initialize’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/live_scene:344:in new' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/live_scene:344:in block in get_instance_controller’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/live_scene:334:in fetch' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/live_scene:334:in get_instance_controller’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:29:in walk_instance' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:24:in block in walk_definition’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:23:in each' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:23:in walk_definition’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:31:in walk_instance' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:24:in block in walk_definition’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:23:in each' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:23:in walk_definition’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:31:in walk_instance' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/model_walker:19:in walk’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/live_scene:197:in bootstrap' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/live_scene:280:in render’
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/live_scene/live_scene:297:in launch_render' C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/gui/commands:74:in block in module:GUI
C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/gui/commands:18:in `block in generate_command’

Which version of V-Ray are you using?

V-Ray for SketchUp 4.20.03

Oh I see.
Assets from the 3D Bazaar Marketplace are compatible with V-Ray 5 and above.

But how come some of the assets work and some doesn’t?

Sorry I misspoke, most assets are compatible with V-Ray 4 indeed. The ones that were created by us (“by Lindalë”), like the Skatter Grass, are compatible with V-Ray 5. It is explicitly stated in their description: “compatible with V-Ray 5+”.