The setup:
- Camera with a target render texture that is pointed at a particle system.
- RawImage in my UI canvas displays the render texture with UI/default shader.
-The camera and the particle system gameObjects start disabled until I want the effect to occur. – - When a button is pressed, I enable both gameObjects, and trigger play on the particle system.
The result:
- I enter play mode and trigger my particle system to play, but I don’t see anything in the game view.
- I toggle to the scene view, and I can see the 3d particles, and I can see the 2d projection of those particles onto the ui canvas
- I switch back to game view, and for some reason it’s rendering perfectly there, too.
This is consistent behavior, I can’t get it to display properly in the game view unless I toggle to scene view and back.
Any clue what’s happening?