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
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
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
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
SunnySunshine
Sep 08, 2019 20:02
I have this issue in 2018.2.14f1.
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
xophiixxu
Jun 19, 2019 11:20
still exist in 2018.2.0f1 2018.4.2f1 PlayStation4 Platform
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.
NgCa
Dec 31, 2018 02:10
yeah comeback in 2018.2.9f1.
banyango
Oct 12, 2018 19:00
I'm getting this on 2018.2.9f1, was there a regression?
ping229
Feb 10, 2017 07:37
this issue still exist in 5.3.5f1...mesh alpha vertex color have the same problem
twobob
Mar 25, 2015 23:02
This - exactly - /hurts/ our use-case too...