Search Issue Tracker
By Design
Votes
0
Found in
2017.3.0a1
2018.2.0a1
2018.2.11f1
2018.3.0a1
2019.1.0a1
Issue ID
1091076
Regression
No
Model mesh changes applied via AssetProcessor are lost when the project is built
How to reproduce:
1. Open "SampleScene" in AssetPostprocessorTest.zip
2. Open the project panel and select the mesh "SM_Prop_FruitBowl_01" within model prefab "Banana"
3. Observe the inspector preview panel and note the listed UV channels
4. Press play and observe the Game View text output
5. Notice, that UV4 channels are working
6. Start the existing build at Builds/AssetPostprocessorTest.exe or build the player for Windows
7. Observe the player screen showing that the UV4 channel is now missing on the model
Expected: The changes made to UV channels in OnPostprocessModel persist to the build player, if it's not supported, an exception message should be in place.
Actual: Changes made to UV Channels do not persist to the build player.
Reproduced with: 2017.4.15f1, 2018.2.17f, 2018.3.0b12, 2019.1.0a12
Note: When you close and reopen the project after 5th step, you can see that changes made in UV channels are still there, therefore AssetPostprocessor is working 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
- URP ShadowCaster2D is misplaced and distorted when used with rotated Perspective Camera
- UI mesh is drawn twice when two cameras are used
- The Scene view top menu bar disappears when any Draw Mode other than "Wireframe" is selected in the specific project with a corrupted Material
- TabView.tabClosed EventHandler passes the wrong tab index as parameter when closing a tab from oldest to newest order
- Rigidbodies clip through terrain and snap back up when Heightmap Resolution is bigger than the terrain size
Resolution Note:
If "Optimize Mesh Data" is enabled in "Player Settings", mesh channels that are unused by shaders during the build will be removed. See https://docs.unity3d.com/ScriptReference/PlayerSettings-stripUnusedMeshComponents.html and https://docs.unity3d.com/Manual/OptimizingGraphicsPerformance.html