- Root cause: New actor naming done in the actor factory instead of the level pipeline
- Solution: Translators must provide uniqueasset names for actor factory nodes. Otherwise, reimport could fail
- Caveat: Not all translator can do that unless the translated format does enforce uniqueness accross versions, one way or the other. GLTF does not :-(
- Removed unnecessary argument to FAsset::GenerateNames
- Modified GLTF translator to use new GLTF node's unique ids as asset names for actors.Misc: Added Tech Writer's corrections too
- Modified Datasmith translator to use Datasmith uniques names as asset names for actors.
- Modified FBX parser to use unique ids as asset names for actors
- Modified generic level pipeline to transfer asset names from translated nodes to actor factory nodes
- Modified FTaskCreateSceneObjects::DoTask to use factory node's asset name as object name
- Changed default behavior forDatasmith and generic level pipelines: now similar to Datasmith behavior
- Side fixe: eliminate a useless ensure when opening the import dialog for a reimport while no pipeline has a conflict.
#jira UE-203669
#rb benoit.deschenes
#rnx
#virtualized
[CL 31586005 by jeanluc corenthin in ue5-main branch]
- Also fix the legacy alternate skinning if there is custom LODs in the asset. The alternate skin profiles are not lost anymore
#jira UE-205049 , UE-204958 , FORT-705238
#rb JeanLuc.Corenthin
#rnx
[CL 31335966 by alexis matte in ue5-main branch]
- Added AssetFriendlyName on UInterchangeResult to pass Actor's label which can differ from its name
- Added GetMessageLogText method to UInterchangeResult to centralize message formatting
- Updated UE::Interchange::InterchangeEditorModule::LogError to use new GetMessageLogText method
- Added SourceData to FImportSceneObjectsParams to allow actor factories to log complete message for warning and errors
- Updated FTaskCreateSceneObjects::DoTask to pass SourceData in its parameters
- Modified UInterchangeActorFactory::ProcessActor signature accordingly
- Added utility methods to UInterchangeActorFactory to log error or warning messages
- Updated actor's factories according to signature change
- Updated TaskCompletion to add actor's label to successful message
#jira UE-204277
#rb Alexis.Matte
[CL 31194987 by jeanluc corenthin in ue5-main branch]