Packaging project with substance

Hi,
I bought the substance materials 100 PBR Subst… and also alegorithmic package, but when I try to package a project with substance, it is packaging ub gives An error about substance Core, after this I added a c++ file in project so it could integrate substance plugin in project is I understood well. Package worked fine but now it just crashes.
It is not a project yet I just tried for testing, i need to integrate this in my next project, so I need this to work, I had this error before to in other versions but I thought that they were resolved until now :(.

I need some guidance how to package a project with substance and so the executable to work.
Thank you in advance.

MachineId:1EF72E8346F32F306118378D11809D81
EpicAccountId:

Unknown exception - code 00000001 (first/second chance not available)

Assertion failed: Module.IsValid() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.6\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp] [Line: 245]

KERNELBASE + 24684 bytes
SubstanceMaterials!FOutputDeviceWindowsError::Serialize() + 261 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
SubstanceMaterials!FOutputDevice::Logf__VA() + 248 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
SubstanceMaterials!FDebug::AssertFailed() + 1221 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
SubstanceMaterials!FModuleManager::LoadModuleChecked() + 62 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\modules\modulemanager.cpp:247]
SubstanceMaterials!FProjectManager::LoadModulesForProject() + 2232 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\projects\private\projectmanager.cpp:99]
SubstanceMaterials!FEngineLoop::LoadStartupModules() + 24 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:1808]
SubstanceMaterials!FEngineLoop::PreInit() + 7948 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:1373]
SubstanceMaterials!GuardedMain() + 235 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:110]
SubstanceMaterials!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
SubstanceMaterials!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
SubstanceMaterials!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Please any ideea I really need to use substance in next project and that project starts :frowning: well yesterday.

Substance is not an tool from Epic as you well know. This you should (and probably have) asked about in the Allegorithmic forum. Having said that, I do find it odd, that it (the downloaded editor) doesn’t package an added active plugin. But the opposite is also true, I find it even more odd that it packages plugins that are deactivated. I’d actually be willing to call that a bug to be honest :slight_smile: Still, happy it worked out for you. Myself I had to compile the source from Allegorithmic to be able to package it.

Hi Mithril, it is not about the plugin from Alegorithmic, It was easy with it, first you just have to copy and enable the plugin, then just add a blanck code in your project and your plugin will be compiled with the project the problem is when you start the compilled project, but it seems it worked about 5th try and from then it’s working just fine.

Can’t say anything about that one I’m afraid. Once I got it built, it worked every time.