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
- Crash when total memory consumption is over 2GB
- Red dots are rendered when copying texture with ASTC format and CompressGpu
- [Linux] "Trying to load color backbuffer into a complex RenderPass setup" error is thrown after entering Play mode in AR Mobile template project
- [Android] Neither of the callbacks are called when several videos with VideoPlayer are spawned on the target on the Google Pixel devices
- Texture2D memory allocation size is significantly increased when running on iOS device
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