Search Issue Tracker

Won't Fix

Votes

0

Found in

4.1.0a2

Issue ID

534098

Regression

No

[Performance, Culling] Cameras with layer masks that exclude entire scene still spend time culling entire scene

Profiling

-

Could reproduce in Version 4.2.0a2 (d3a8d992e988).

To reproduce:
- Open attached project
- Open and dock Profiler window
- Launch "testscene" and hit Play
- In Profiler, kook at Camera.Render/Drawing
- Observe that Camera2 is spending 0.0 time rendering (as expected)
- Look at Camera.Render/Culling
- Notice that Camera2 is spending some time culling

Additional note from user: "Note that entire hierarchy of LotsOfStuff is set to the Layer "Stuff" and only Camera1 has it's layer mask set to render that layer, Camera2 is set to only render OtherStuff"

Add comment

Log in to post comment