Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b16
Issue ID
798012
Regression
Yes
[PostProcessing] OnRenderImage source is null on first call in Forward Rendering when effects enabled in scene view
In forward rendering in 5.4.x, in the first call of OnRenderImage, source is null (results in null ref exception) when effects are enabled in scene view.
Repro:
1) Open attached project and scene
2) View nullref in console (playmode results in a new nullref)
Optional check:
3) Disable scene view effects (playmode now results in no nullref)
4) Add "if (source == null){return;}" to "OnRenderImage" method (playmode now results in no nullref)
Notes:
* Only first call returns null (on recompile in edit or first frame of play)
* Requires effects enabled in scene view (so requires 5.4)
* Doesnt repro in deferred shading
* Bloom (used in repro project) will now work if repulled from trunk (fixed by null check PR)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment