Search Issue Tracker
Fixed in 7.1.5
Votes
1
Found in [Package]
6.9.0
Issue ID
1191757
Regression
No
[LWRP]Build crashes when built with shadergraph file added to Always Include Shaders list
To reproduce:
1. Open "1191757" project
2. Open Player Settings > Graphics
3. Add a new Element in Always Include Shaders list (increase Size int by one)
4. In the Assets folder locate HDRP_LWRP_Shader.shadergraph and drag to the newly created Element
5. Build for Standalone and run the built project
Expected result: the project is opened with the included shader
Actual result: getting a pink splash screen and instant crash
Reproduced on:
2019.2.0b6 2019.2.10f1
Package version:
- 6.9.1
- 6.9.0
Notes:
- Couldn't test on 2018.4 - 2019.2.0b5, 2019.3 getting LWRP package errors
- There is no shader graph in 2017.4
- Reproduced on Win 10 and MacOS 10.15 machines
-
zyzyx
Nov 13, 2019 08:45
Possible workaround: Create *.shadervariants asset in the Graphics options (Shader Loading) and add it to the Preloaded Shaders list.
It worked for me using unity 2019.2.11fI hope this gets fixed soon.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 7.1.5):
This issue has been verified as fixed in Universal Render Pipeline 7.1.5