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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font 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