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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
Add comment