The only downloadable plugin at the moment is for 4.3 only, any versions before that need to download the entire engine from an Allegorithmic UE4 fork. on github.
However the new plugin recently released for 4.3, please make sure you are putting the plugin into the …\PROJECT_NAME\ folder, NOT in the ProgramFiles\UnrealEditor\engine\plugins. The following is taken from their website:
You need to add the plugin to each project you intend to use the substance files in. For more details see the the webpage at:
So when I compile from VS I get the following error:
error LNK1181: cannot open input file ‘C:\Users\Documents\game\Game\Plugins\Substance\Source\SubstanceCore/lib/win32-msvc2013-64/release_md/Substance.lib’ C:\Users\Piller187Documents\game\Game\Intermediate\ProjectFiles\LINK
So I don’t have a win32-msvc2013-64 folder or subfolders. The guy who originally put Substance in does because the Substance folder has it when he copied it locally. However he pushed the project to BitBucket, but that folder and the lib are not on BitBucket. He uses SourceTree and I was thinking .lib files must be getting ignored but when we went to Settings in SourceTree the .gitignore doesn’t say anything about lib.
@ Yeah, it’s added right off the PROJECTNAME folder. I think it’s git via BitBucket ignoring lib files but can’t find out where it’s doing that or how to fix it.
That is very strange… has the plugin worked at all or did you just install it now and can no longer use it since adding the plugin?
Is there any way to manually upload the files to bitbucket? (Sorry I have not used the service before) but is looks from what I gather to be similar to github… Would it be worth trying to delete the plugin then sending a commit to bitbucket to make sure it disappears, then re-add the files and do another commit? Just to rule out any issues occurring in the files transfer…
If that doesn’t help, I’m sorry but I will have to leave for someone else more knowledgeable with git/bitbucket (I know the basics, but is beyond me I’m afraid).
Sorry bud, hopefully someone else will chime in shortly…
EDIT: Just wanted to add, if you get no luck here, also post into the Substance For UE4 forum over on allegorithmic, the link below should take you there.
I created the project and pushed. He pulled, added Substance plugin folder. Opened the editor and it was working fine for him. He them committed and pushed. I then pulled and started getting error. We checked bitbucket after it said lib file was missing and such enough it’s not on bitbucket which means it’s not on my machine either. I can manually copy the plugin folder locally to mine, and all the other team members, and it would solve it, but if new versions come out we’ll all have to remember to do . I’d prefer only 1 person has to and the rest would just get it from bitbucket when we pull recent. Thanks for you efforts . I’ll try the remove/readd process.
We provide a download for the Substance plugin here:
I would first recommend you start by comparing the files between what has been uploaded in bitbucket and what is provided by us. You definitely need the Substance.lib file to compile the project for example. Sometimes .lib files end up in .gitignore and it may not have been added.
Additionally, if you are using a github version of the Unreal Engine (not the 4.3 version as provided by the launcher), I recommend not uploading the Binaries folder as those binaries are built against the 4.3 version in the launcher.
We are using the 4.3 from launcher. I also looked at persons .gitignore and he didn’t have anything in there. I’ll compare the files just to make sure it wasn’t more files getting ignored as well.
So the binaries and win lib folder were the only 2 that aren’t added. I’m fine with binaries not getting added as I’m sure UE4 will compile that from source but clearly it needs the lib to do that. Man I have to think git is somewhere ignoring DLL’s and Lib’s but I cant find it anywhere.
So I copied the substance folder locally. The 2 dll’s and 1 lib show up in my working copy in SourceTree. I add them. Commit, push and I see them in BitBucket now. Will have to have other guy try that again and see if it’s just his PC that isn’t allowing it.