"Custom Preview" does not display grasshopper objects in Render view

I am have having issues with the “Custom Preview” component in Grasshopper. I am trying to visualize the shading impact of a grasshopper surface in Rhino. When I try to visualize the grasshopper surface in the Rhino “Render” view using the Custom Preview component, it does not show the surface in Rhino. I think there is a bug somewhere, because sometimes when I restart Rhino and reopen, it works as expected. But most of the time, it does not work.

Has anyone else seen this issue? Do you have any recommendations?

Here is a visual of the surface I would like to Render:

Here is what happens when I only have the “Custom Preview” displayed in Rhino. Nothing shows up:

Hi Teresa -

That seems to work just fine here:
image

Custom Preview Shadows.gh (5.6 KB)

You might want to provide a gh file and the result of the Rhino SystemInfo command.
-wim