Author Topic: Substance Plugin Released  (Read 25448 times)

This is a compatibility release for UE4.21.0

Download Link:

This update is now available through the UE4 Marketplace. Alternatively, the most recent version of the Substance in UE4 plugin source can be downloaded from the link above.


Is there any chance I could download that plugin but also built for Linux ( CentOS 7.xx) please ?
From what I can see in Binaries folder there is only Windows version there from the downloaded Drive version ...



These releases will build fine on Linux (Ubuntu). Just put it in your Engine's Plugins/Runtime folder

@Josh Green We are automating the Linux build with ue4-docker and ue4cli, and would like to contribute back the code if possible. Is there a place to do that? I know you used to do an Unreal fork on GitHub to distribute Linux sources, but you seemed to have moved away from that.

Here is a video showing what I am talking about. 
Basically I am trying to download materials into my UE4 project but I cannot see what any of the look like since when it tries to load the previews it only displays a white image of empty blankness.

What do I do?

Thanks in advance for any advice! :)

Here is a video showing what I am talking about. 
Basically I am trying to download materials into my UE4 project but I cannot see what any of the look like since when it tries to load the previews it only displays a white image of empty blankness.

What do I do?

Thanks in advance for any advice! :)

Hey @garretttru ,

This is a known issue that was fixed in the 4.21 release. Just to confirm, what version of UE4 are you using?


Thanks for the 4.21 release! This mostly works however, when building from source with clean intermediate files I am getting a number of compilation errors, it appears that these errors are related to missing include files, perhaps from the move to ICWYU mode?

See below for a list of files which are missing includes.

- #include "CoreMinimal.h" is missing for the TArray

- #include "Serialization/CustomVersion.h" is missing for the FCustomVersionRegistration

- #include "Misc/Guid.h" is missing for the FGuid

- SubstanceCorePrivatePCH.h and SubstanceCoreHelpers.h order needs to be swapped as a work around to the problems in SubstanceCoreHelpers.h
- #include "RenderUtils.h" is missing for the GPixel variable

- #include "AssetToolsModule.h" is missing for the FAssetToolsModule reference

- #include "HAL/FileManager.h" is missing for the IFileManager reference

- #include "CoreMinimal.h" is missing for the FArchive reference

- #include "RenderUtils.h" is missing for the GPixel variable

- #include "CoreMinimal.h" is missing for the TMap reference (and others)
- #include "PixelFormat.h" is missing for the EPixelFormat reference
- class UMaterial; is missing as a forward declaration
- class UMaterialInstance; is missing as a forward declaration
- This header relies on SUBSTANCE_FRAMEWORK_INCLUDED being defined before its inclusion, this is currently only defined in the PCH, this means that the include order in SubstanceCoreHelpers.cpp cannot satisfy ICWYU requirements

- bEnforceIWYU needs to be disabled in order to work around the problem with SubstanceCoreHelpers.cpp


There are some more missing includes when performing a non-unity build, it would be great if you could add the testing of clean rebuilds and non-unity testing to your build process.

- #include "substance/source/typedefs.h" is missing

- #include <assert.h> is missing

#include "substance/source/memory.h" is missing

- Due to #ifdef SUBSTANCE_FRAMEWORK_INCLUDED only being defined in the PCH any includes within that block are not correctly included

- #include "EditorReimportHandler.h" is missing

- #include "SubstanceImageInput.h" is missing

- These are all missing
#include "AssetTypeActions_Base.h"
#include "SubstanceInstanceFactory.h"

namespace SubstanceAir
   struct GraphDesc;

- #include "Classes/SubstanceTexture2D.h" is missing

- #include "ISubstanceEditor.h" is missing

- #include "Widgets/Layout/SSeparator.h" is missing

- #include "Colors/SColorBlock.h" is missing

- #include "substance/source/asset.h" is missing


When I try to import a sbsar from network location, the name of the material does not carry over to UE4.
I really don't want to copy past names, as I plan to import multiple sbsar materials.

Please advise and note that I have the latest plugin available and am on UE4 V 4.21.2.
Please also note that I did both downloaded from Market and when that did not work I
installed in runtime folder as per instructions:
C:\Program Files\Epic Games\UE_4.21\Engine\Plugins\Runtime

I really would like the names to carry over since I want to import over 100 materials all at once.
Please see attached.