Search Issue Tracker
By Design
Votes
0
Found in [Package]
Issue ID
1298955
Regression
No
Post Processing don't work on build and output null error in log
Creating post processing layer and camera is throwing a null ref.
Repo Steps:
1. Open the attatched project
2. Load 'TestScene'
3. Build and run
Expected results: The game runs with the bloom effect that it had in the editor
Actual results: There is a null ref and the bloom(and all ppv2 effects) fails to run
Note: This seeminly happens as they setup a new camera with post processing via API. On the camera, a script called 'CameraClose' L68 sets up a new post processing layer on teh camera and disables the existing one, if you comment out lines 68-71 the issue goes away. Interestingly this doesnt repo in the editor, so there must be some editmode resource loading that happens when adding a post process layer that doesnt execute in standalone.
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
- [HDRP] Assertion printed when Maximum Reflection Probe count is higher than 64 due to k_MaxCubeReflectionsOnScreen when Raytracing is enabled
- Seams are visible on the Water System when multiple tiles are used and their Surface type is set to River
- Matching Game View creates unsaved changes even though nothing to save
- AudioClips do not have path or GUID in Build Report and incorrect size is reported
- The rendered color of the preset differs from the preview color when adding a new swatch in the HDR Color Picker
Resolution Note:
As described in the documentation, you need to bind the resource asset to the post process layer or it won't be able to find the post process shaders. See the additional notes here: https://docs.unity3d.com/Packages/com.unity.postprocessing@3.0/manual/Manipulating-the-Stack.html#additional-notes