Search Issue Tracker
Active
Votes
0
Found in
2022.3.37f1
6000.0.10f1
Issue ID
UUM-75294
Regression
No
The "INSTANCING_ON" shader variant is getting stripped when building the AssetBundle with the shader variant collection and the Instancing Variants set to Strip Unused
How to reproduce:
1. Open the “ReproAssetShader“ project
2. Open the “SampleScene“
3. Set the “Edit/Project Settings/Graphics/Instancing Variants“ to “Strip Unused”
4. Click on the “Tools/AssetBundle Build“ then create and choose the “StripUnusedOutput“ folder
5. Navigate to the “Tools/UTJ/AssetBundleCheck“ window
6. Click on the “Load Asset Bundle“ button
7. Choose the “svc“ file from the “StripUnusedOutput“ folder
8. Click on the “Dump“ button under the “Shaders/Universal Render Pipeline/Baked Lit Test“ section in the “AssetBundleCheckerWindow“
9. Expand the “Keywords“ section
Expected result: The “INSTANCING_ON” keyword is present
Actual result: The “INSTANCING_ON” keyword is not present
Reproducible with: 2022.3.37f1, 6000.0.10f1
Could not test with: 2021.3.40f1 (Could not test because of the shader errors)
Reproducible on: macOS 14.5 (Intel), Windows 10 Pro (22H2)
Not reproducible on: No other environments tested
Notes:
- Additional information about the project setup added in the internal notes
- Changing the “Edit/Project Settings/Graphics/Instancing Variants“ to “Keep All” does not strip the “INSTANCING_ON” shader variant
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Ubuntu 24]Layout window size is rest when reopening the Project
- [Ubuntu 24]Cannot resize Editor window with the arrows on the side
- [Android] VideoPlayer does not resume playing when the app has recovered after lagging
- “Render Graph Execution error” errors are thrown when custom Renderer Feature enabled and Scene View is focused
- Terrain has tint from the directional light source when a normal map is enabled on iOS and Android Platforms
Add comment