Search Issue Tracker

By Design

Votes

0

Found in

5.6.0p3

Issue ID

907553

Regression

No

[Profiler] CameraEvent.BeforeForwardOpaque and CameraEvent.AfterForwardOpaque exclude some RenderForwardOpaque.Render events

Profiling

-

Steps to reproduce:
1) Open the attached project.
2) Press play.
3) After a couple seconds, stop play mode.
4) Open profiler.
Expand Camera.Render > Drawing > Render.OpaqueGeometry > RenderForwardOpaque.Render.

Notice that events like Shadows.RenderShadowMap are not listed under CameraEvent.BeforeForwardOpaque or CameraEvent.AfterForwardOpaque, but instead are shown separately.

Expected: events such as Shadows.RenderShadowMap are bracketed by CameraEvent.BeforeForwardOpaque.
Actual: the events are displayed separately.

Reproduced on:
2017.2.0a1, 5.6.0p3, 5.5.0f3

  1. Resolution Note:

    By-design because CameraEvent.BeforeForwardOpaque are camera event callbacks, they are not doing the rendering so the actual rendering items e.g. Shadows.RenderShadowMap shouldn't be under the callback.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.