Search Issue Tracker
By Design
Votes
1
Found in
2017.1.0p5
Issue ID
979577
Regression
No
Instancing Variants, when set to "Strip Unused", strips too much
To reproduce:
1) Open the project and "thing" scene.
2) Select Edit->Project Setting->Graphics, set Instancing Variants to Strip Unused.
3) Check "Alt-Color.shader" and shader variant collection at "Asset/AsbThings/BundleA/All". There are three variants in it and include "INSTANCING_ON".
4) Open "assetbundle browser" on Window->AssetBundle Browser, mark "Force Rebuild" in it (if you want to see the expected result
5) Build the bundles
6) Run the scene.
7) Click the "load" button in the game view.
Actual: The cube will display as blue color (it means INSTANCING_ON has been stripped)
8) In Graphics settings, set Instancing Variants to Keep All
9) Repeat steps 4-7
Expected: The cube is red now.
Reproduced in 2017.1.0p5, 2017.3.0f3, 2018.1.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment