When importing a static mesh into a project with the appropriately named materials in it already they won't apply to the mesh automatically when setting Search Location to All Assets without being in the same folder. It works when they are in the same folder.
A quick way to get the materials needed was to import the example mesh with Material Import Method set to Create Materials and delete the mesh so all the materials exist in project with the correct names. Attached is the fbx I used to verify this bug.
Found in 4.22 CL# 7053642
Reproduced in 4.21 CL#4753647, 4.23.0 Preview 1 CL#7236301, 4.24 Main CL#7285696
1. Have materials named correctly for a specific mesh in a project.
2. Import the mesh into a separate folder from the one with the materials using the following settings (refer to ImportSettings.png attached):
-Search Location = All Assets
-Material Import Method = Do not create material
Result: The mesh doesn't have the existing materials applied on import.
Expected: The mesh has the existing materials applied on import.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How to delete some elements correctly when deleting an array loop?
UMG RichText not appear image when packaged
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-77360 in the post.
9 |
Component | UE - Editor - Content Pipeline - Import and Export |
---|---|
Affects Versions | 4.23, 4.21.2, 4.24, 4.22.3 |
Target Fix | 4.25 |
Created | Jul 16, 2019 |
---|---|
Resolved | Feb 17, 2020 |
Updated | Jul 30, 2020 |