Search Issue Tracker

Fixed in 5.2.4

Votes

5

Found in

5.0.0p2

Issue ID

683178

Regression

No

[AssetBundles/Shaders] With "Optimize Mesh Data" enabled, vertex colors are stripped from meshes in AssetBundles

Shaders

-

Steps to reproduce this issue:

1. Open the attached project
2. Open 'Main' scene
-The scene has mesh with vertex colors which is build into an asset bundle
3. In Player's settings make sure 'Optimize Mesh Data' is enabled
-In BuildBundles script make sure 'BuildTarget' matches the testing environment
4. Build asset bundles(assetBundleVertexColorTest->Build bundles)
5. Play the scene
6. Notice white plane in the scene
7. Disable 'Optimize Mesh Data'
8. Rebuild asset bundles
9. Play the scene
10. Observe that the plane mesh now has the vertex color data as expected

Comments (8)

  1. SunnySunshine

    Sep 08, 2019 20:02

    I have this issue in 2018.2.14f1.

  2. F8Foxie

    Aug 22, 2019 04:27

    Getting a similar issue with optimise mesh data stripping needed information from models in asset bundles for 2018.4.4

  3. xophiixxu

    Jun 19, 2019 11:20

    still exist in 2018.2.0f1 2018.4.2f1 PlayStation4 Platform

  4. NgCa

    Dec 31, 2018 02:22

    if that mesh catch small size and your particle system hold that mesh not in many Asset Bundles, you can make that mesh and particle system in same asset bundle that will work fine with "OPTIMIZE MESH DATA" option.

  5. NgCa

    Dec 31, 2018 02:10

    yeah comeback in 2018.2.9f1.

  6. banyango

    Oct 12, 2018 19:00

    I'm getting this on 2018.2.9f1, was there a regression?

  7. ping229

    Feb 10, 2017 07:37

    this issue still exist in 5.3.5f1...mesh alpha vertex color have the same problem

  8. twobob

    Mar 25, 2015 23:02

    This - exactly - /hurts/ our use-case too...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.