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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.