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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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.