My game relies pretty heavily on post processing to achieve a retro look. I've deleted the main camera, and set my post processing prefab as the main camera, then both the main camera and post processing to a post processing layer. It works beautifully in the editor but as soon as I build and run, anything effected by the post processing layer turns black and does not display. The UI and cursor displays as they aren't effected by post processing.
I have narrowed down the post processing layer as the culprit, as the build works fine when the main camera prefab is set to a different layer than the post processing layer (which causes post processing not to work at all)
Is there any way to fix this?
Editor (working)
Build (broken)
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I believe I have solved the problem. You have to make sure any 3rd party shaders are listed under Project settings > Graphics > Always included shaders
As described here: https://stackoverflow.com/questions/55660837/unity-post-processing-postprocesseffectrenderer-shows-in-editor-but-not-in-build
After adding my additional post processing effects to the list, it works fine in the build!