Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question VFX not rendering when pausing the Editor?

Discussion in 'Visual Effect Graph' started by dgoyette, Nov 17, 2021.

  1. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    3,998
    I'm seeing some odd behavior where visual effects will generally render properly in the main camera, but will not initially render when pausing Play Mode. This feels like a relatively recent thing, but it's hard to say. It's happening in 2019.4.32, as well as 2019.4.31, and I don't have another version to go back further to test.

    What happens is I'll pause Play mode, and none of the VFX in the scene will be rendered in the editor camera:

    upload_2021-11-16_17-39-15.png

    Now, if I advance the game one frame (ctrl-alt-p), the next frame successfully renders all of the VFX objects in the scene:

    upload_2021-11-16_17-39-44.png

    But if I resume playing and pause again, it'll be like the first image again.

    I was also noticing some issues with trying to capture individual frames using Camera.Render(), where no VFX will show up either. Anyone seen anything like this?