- Home /
Bloom and Blur PostEffects don't work after updating to Unity 5.6.0f3
After updating Unity to 5.6.0f3 the Bloom and Blur PostEffects throw this error:
NullReferenceException: Object reference not set to an instance of an object UnityStandardAssets.ImageEffects.Bloom.OnRenderImage (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/Standard Assets/Effects/ImageEffects/Scripts/Bloom.cs:121)
The method is OnRenderImage and its trying to access a property of the RenderTexture source (the first argument), but source is null. And the screen is black, obviously. All post-effects receive a null as the source.
Any ideas?
While I agree with the move towards the Post Processing stack, they've left out Blur (and Blur Optimized). On the GitHub forums, they're clai$$anonymous$$g Blur is a "highly specific" effect and won't be included in the stack.
Even though the Post Processing stack has proved incredibly useful, as far as I'm concerned, ditching Blur is a gross omission from the stack.
Answer by rng42 · May 05, 2017 at 08:04 PM
In Unity 5.6 you can use the 'Post Processing Stack' from the Asset Store.
Answer by RaZe_FaInZ · Apr 28, 2017 at 05:55 AM
The effect has been deprecated in Unity 5.6
Is there any replacement for those deprecated post effects? There aren't any simple blur in the new Unity post processing asset. Only $$anonymous$$otion blur and Depth of field.