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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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