Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X
Votes
11
Found in
2019.4.31f1
2020.3.19f1
2021.2.0b13
2022.1.0a12
Issue ID
1369645
Regression
Yes
Shaders are ignored when executing Build Asset Bundles method from console with -nographics argument
How to reproduce:
1. Open any command-line interpreter
2. Run "UNITYPATH -batchmode -quit -nographics -projectPath PROJECTPATH -executeMethod BuildAssetBundlesExample.Build", where UNITYPATH is the path to Unity.exe file, PROJECTPATH is the path to the project
3. Open the user's "1109413_BundleShaders" attached project
4. Open the "LoadScene" Scene
5. Enter the Play Mode
Expected result: The Material of Cubes in the Scene view are red and white
Actual result: The Material of Cubes are purple
Reproducible with: 2019.4.31f1, 2020.3.19f1, 2020.3.20f1, 2021.2.0b13, 2021.2.0b15, 2022.1.0a12
Not reproducible with: 2019.4.30f1, 2020.1.0a11, 2020.1.17f1, 2020.2.7f1, 2020.3.0f1, 2020.3.18f1, 2021.1.0a1, 2021.1.24f1, 2021.2.0b12, 2022.1.0a1, 2022.1.0a11
Couldn't test with: 2020.1.0a1-2020.1.0a9 (Test Framework Package error)
Note: Reproducible on Xbox
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 2022.1):
Fixed in 2022.1.0a14
Resolution Note (fix version 2021.2):
Fixed in 2021.2.2f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.24f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.33f1