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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.