Please!!! Help Me!!!
I do really need to import my IES files into UE4 but, when I drag & drop into the program, the next message appears:
“Failed to import …/…/…etcetera”
In the Output Lof file appears something like:
LogAssetTools: Warning: Failed to import ‘C:.…/…\ELATION PALADIN Photometric IES Files\ELATION PALADIN ZOOM IN Photometric IES Files\ELATION PALADIN (Zoom In)Green.ies’. Failed to create asset ‘/Game/StarterContent/IES/ELATION_PALADIN__Zoom_In_Green’.
Please see Output Log for details.
LogFactory: FactoryCreateFile: Texture with ReimportTextureFactory (0 0 C:.…\ELATION PALADIN Photometric IES Files\ELATION PALADIN ZOOM IN Photometric IES Files\ELATION PALADIN (Zoom In)Red.ies)
Error: Texture import failed
What can I do if this is the original file of owner’s page!!!
I’m getting the same error trying to import an IES as well, did you ever resolve this?
Actually I had the same error where some files were parsed correctly by the engine and others did not.
After a quick skim through the source code, I managed to fix the issue. Before explaining the solution I would like to point out that I have been using a Light Simulation engine that skipped some parameters during parsing. Now according to the UE version 4.26 the following parameters matter the most for IES version (IESNA:LM-63-2002):
<#lamps>< lumens/lamp>,< multiplier> <# vertical angles><# horizontal angles>< photometric type>< units type>< width>< length>< height>
The problem in my case was the <#lamps> parameters was 0 and according to the check in image (InvalidLampCount.png) it will raise an error eventually.
Now for where to edit this part check [this link] as a reference for the description of file content. I have also attached an image depicting quickly where to look at the mentioned parameters above in a sample.