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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment