Search Issue Tracker

By Design

Votes

0

Found in

5.4.0a5

Issue ID

752694

Regression

No

[Filmic DoF] Missing shader in Main Camera after manual import

Image Effects

-

Steps to repro:

Open attached project.

1. Load scene "LargeScene.unity"
2. Try to enable the "Filmic Depth of Field" on the camera
3. Observe log and being unable to enable the DoF component.

This only happens when the files are manually placed into a project. If I import as a package this does not happen.

I tried to move the shader to the folder suggested "StandardAssets/ImageEffects/XXX" but this only further produced the error:
NullReferenceException: Object reference not set to an instance of an object
UnityStandardAssets.ImageEffects.FilmicDepthOfField.DoDepthOfField (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/Standard Assets/Effects/ImageEffects/NewImageEffects/DepthOfField/FilmicDepthOfField.cs:675)
UnityStandardAssets.ImageEffects.FilmicDepthOfField.OnRenderImage (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/Standard Assets/Effects/ImageEffects/NewImageEffects/DepthOfField/FilmicDepthOfField.cs:635)

Work Around: import them as a package

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.