Renderview doesn't show the world or props, only static ones.

Hi, I am trying to use the RenderView function but when I use it it only renders static props that were already in the world. I am using it within a stencil buffer so could that be the issue? Any help would be great, thanks.