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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Add comment