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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment