Search Issue Tracker
Fixed in 5.0.0
Votes
0
Found in [Package]
4.0.1
Issue ID
1092373
Regression
Yes
[LWRP] 'ShaderIncludePathAttribute' is obsolete: '[ShaderIncludePath] attribute is no longer supported' error in the console
[LWRP] 'ShaderIncludePathAttribute' is obsolete: '[ShaderIncludePath] attribute is no longer supported' error in the Console once the 4.0.1 packagage is installed
Steps to reproduce:
1) Open Unity and create a new project
2) Go to Window >> Package Manager >> Install LWRP 4.0.1 package
3) Observe this error in the Console:
Library\PackageCache\com.unity.shadergraph@4.0.1-preview\Editor\DefaultShaderIncludes.cs(24,10): error CS0619: 'ShaderIncludePathAttribute' is obsolete: '[ShaderIncludePath] attribute is no longer supported. Your shader library must be under the Assets folder or in a package. To include shader headers directly from a package, use #include "Packages/<package name>/<path to your header file>"'
Expected result: No error
Reproduced with:
2019.1.0a5
Not reproduced with:
2018.3.0b6, 2019.1.0a4
Regression since:
2019.1.0a5
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 5.0.0):
Package updated to use new API in version 5.0.