Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b17
Issue ID
797805
Regression
No
Command buffers don't work until the camera is re-enabled
Steps to reproduce:
1. Open project
2. Open "editor_tool_scene" scene
3. Go to Main Camera in object hierarchy and locate "Simple Screen Space Ambient Occlusion" script
4. Edit script and comment out 159-161 lines (These code lines disable and re-enable main camera)
5. Change Mode property to Integrate or Multiply
Results: You can see that SSAO doesn't change even though command buffer was updated as it for some reason needs to re-enable camera.
Note: User mentioned that sometime SSAO command buffer doesn't need to re-enable camera to take effect in certain scenes (Couldn't reproduce that).
Workaround: Disable and then enable camera in SetupCommandBuffers() method.
Reproduced with: 5.3.4b18; 5.4.0b17; 5.3.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment