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
- Incorrectly baking lighting when consecutively loading multiple scenes with individual Baking Sets
- [Android] Crash on startup when Depth Stencil Format is set to S8_UINT
- Multiple errors occur when setting the Render Object Event to AfterRenderingPostProcessing while using STP for Upscaling
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
Add comment