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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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