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
- Timeline section stops rendering after restoring Profiler Window modules
- Cursor image does not update when Cursor.SetCursor is called again with CursorMode.Auto
- Crash on do_runtime_invoke when reopening a specific project after failing to build it
- Animations change speed when rigidbody is added
- Low FPS persists when re-entering Play mode after an extended session in a specific project
Add comment