Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - AliSafari

Pages: 1 [2] 3 4 ... 6
Hello @swekenchu
I filed a JIRA ticket for this issue. We are looking at it and will let you know when our development team has a feedback regarding this issue.


Hello, we are trying to build for macOS with Apple Silicon Support.

Substance Plugin:
Build Number: 118
Commit Hash: 2b1f4be3a8d28d44dc5ce59eff39c91144368d60
Plugin Commit: 24eb4364a04f2cf81f76a384c02085ea3afcfeb5
Plugin Build: A4

Unity Version: Unity 2020.3.10f1
Target Platform: macOS
Architecture: Intel 64-bit + Apple Silicon

Here is what we see when we sign the exported application. It's using Mach-O thin (x86_64)

Code: [Select]
../1_MyBuild/ replacing existing signature
../1_MyBuild/ signed app bundle with Mach-O thin (x86_64) [Substance-555549446ea9b0fbcb693676b22ddff279cca17b]

All the other bundles and libraries are signed with Mach-O universal (x86_64 arm64):
Code: [Select]
../1_MyBuild/ replacing existing signature
../1_MyBuild/ signed Mach-O universal (x86_64 arm64) [UnityPlayer-5555494402d25e5b3b4837ae81873353b6a354fa]

Is it possible to re-export the plugin with Intel 64 + Apple Silicon (M1) Support.

We are ready to launch and this is the last plugin we have that is not available for Apple Silicon.


Hi @mattg1
I just built a simple app (Cube with a Substance attached to it) on MacOS BigSur version 11.4 + Unity 2020.3.10 + Substance Plugin 2.5.4 with no problems. I did not see any errors in Console and app was created just fine and I launched it without any problems.
Can create a simple app using the same Unity version and Substance Plugin and use a Substance from Source see if you see the same error?


Hello, I noticed a discrepancy between the texture resolutions in Substance Designer vs in UE4. I tried switching the resolution in the graph instance in UE4 and disabling mipmaps in both software but no luck.

Software Info:
 - Unreal Engine 4.26.2
 - Substance Designer 2021.1.2 (11.1.2)

Substance Texture:

UE4 Texture:

Substance Graph:

Hello @Anthony D.
Can you send me the sbsar file?

I'm on Unity 2019.4.26f1.

Textures generated with the Substance plugin are straight up wrong and don't even tile.

Here I'm comparing the output of a sbsar in unity project vs manual generation in substance player and then imported:

As you can see here, the generated material doesn't tile and it has a different scale than the working (manually imported) one.

Generated textures don't even line up with each other:

Here, the generated normal and height maps don't fit with eachother.

Differences between manually imported texture and sbsar generated one in Unity:

Performance overall is also atrocious.

Hello @swekenchu
Can you send me the sbsar file that you are using?




2020.3.0f WAS the most stable when we used <2k texture size (still we had to remove .meta file for things to update properly when we change the graph)

After setting resolution to 4k SBSAR file was not imported properly in unity. When we tried to import/reimport it - it hangs the unity editor
Code: [Select]
Start ondemand import (priority ImportantBackground): Assets/Resources/ (Guid(1603cb108d32e884f93ae66accb6ad87) Importer(815301076,1909f56bfc062723c751e8b465ee728b))
Start ondemand import (priority ImportantBackground): Assets/Resources/TerrainGenerator.sbsar (Guid(e1ee5aa9a4d70e8428263764b3e124d2) Importer(815301076,1909f56bfc062723c751e8b465ee728b))
Start importing Assets/Resources/ using Guid(1603cb108d32e884f93ae66accb6ad87) Importer(-1,00000000000000000000000000000000)  -> (artifact id: 'dbec3dea82fb369ce92885fb2d6d8a99') in 0.001002 seconds
Refreshing native plugins compatible for Editor in 1.12 ms, found 4 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
RefreshInfo: StopAssetImportingV2(NoUpdateAssetOptions) scanfilter:
RefreshProfiler: Total: 62.090ms
Start importing Assets/Resources/TerrainGenerator.sbsar using Guid(e1ee5aa9a4d70e8428263764b3e124d2) Importer(-1,00000000000000000000000000000000)

Here is a working Graph and Sbsar (works in 2020.3.0f/2020.3.7f, for earlier unity versions there are those exceptions posted higher)

Not working Graph and Sbsar (doesn't work in 2020.3.0f/2020.3.7f, did not tested on earlier versions)

How graph is working - at runtime we push the Image_Input which was generated in code and substance should output heightmap/etc
For editing in substance designer and ability to see the result there is an option to use prebaked texture just by changing first input to this:

In Substance/Settings and Substance/Preferences everything is set to 4k
How can we make it work again? We need 4k resolution

Hello @RomanZhu
Can you please answer the following questions?
Are you using Substance plugin 2.5.4?
Did you actually removed the .meta file?
Did you load the .sbs file when you get the error messages?
Are you using HDRP?
Are you having all these troubles with 4k only?
Do the problems go away when you switch to 2k?
If you can make a small sample project that replicate the problem then, you can it to me and I will check it out.


I get this message "Substance engine failed to load." in my Unity WebGL build. We use a .sbsar file within Unity to create textures based on exposed parameters in runtime.
Does Substance support Unity WebGL? Is it possible to use a .sbsar file in runtime within a webapp?

Hi @jkxdvgz
Substance plugin does not support WebGL.

Hello @Maethor
This is. known issue and we have filed a bug for this and our developers are working on it.
I will add your logs to the ticket for this bug.
Sorry about the inconvenience that this has caused you.


Hello @jaimi
When you install Substance plugin 2.5.4 on 2021.1.4 you get a dialog box asking your consent to update some API's. Please answer yes to this dialog box and you will not get this error.
Plugin 2.5.4 is not designed for this version of Unity, we are in process of releasing a new version of Substance Plugin.


Hello Ingolmil . 0

I was able to reproduce the crash and wrote a JIRA ticket for it.
Sorry about the inconvenience. I will update you when I get a feedback from our development team regarding this ticket.


I dont believe that I am the only one who has this issue.
I have tried different PCs and different projects and I have the same result - crashes.
I cant work  :'(

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000002f0

UE4Editor_SubstanceCore!Substance::Helpers::OverwriteSubstancePixelFormatForRuntimeCompression() [D:\Build\++Portal\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\Substance\Source\SubstanceCore\Private\SubstanceCoreHelpers.cpp:1142]
UE4Editor_SubstanceCore!USubstanceGraphInstance::SaveAllOutputs() [D:\Build\++Portal\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\Substance\Source\SubstanceCore\Private\SubstanceGraphInstance.cpp:475]
UE4Editor_SubstanceEditor!SSubstanceEditorPanel::OnFocusChanging() [D:\Build\++Portal\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\Substance\Source\SubstanceEditor\Private\SSubstanceEditorPanel.cpp:713]

Hi @Ingolmil . 0
Are you using 4.26.2 Engine with Substance Plugin
Are you using a Substance material from Substance Source, if yes which Substance?
Are there other other Substance materials which also cause a crash in your project?
Can you give us your system configuration; CPU Cores, RAM, GUP?

TaliZorah's asked the same question in another forum and we replied to her in that forum. Here is our developer's answer to the question for users who may want to know.

"The only way I was able to reproduce the problem was to install the script twice in the gameObject. Hopefully you used the Duplicate function reset.

So, instead of duplicating a graph, save the preset:
string initialPreset = substance.preset;
and when it's time to reset the graph, do:
substance.preset = initialPreset;

Hi @TechnikFabrik 0

Can you sent me the sbsar file? What version of Designer/Unity and Substance plugin are you using?
You can send me a direct message if you prefer.



I have a question about Substance in Unreal Engine.
I'm using a custom UE 4.26.1, so I needed to build it.

When I built it with VS2017, the following error occurred.
1> substancelink_framework.lib (export.obj): error LNK2001: unresolved external symbol __CxxFrameHandler4
1> substancelink_framework.lib (core.obj): error LNK2001: unresolved external symbol __CxxFrameHandler4
1> substancelink_framework.lib (system.obj): error LNK2001: unresolved external symbol __CxxFrameHandler4
1> substancelink_framework.lib (callbacks.obj): error LNK2001: unresolved external symbol __CxxFrameHandler4
1> Engine \ Plugins \ Marketplace \ Substance \ Binaries \ Win64 \ UE4Editor-SubstanceLink.dll: fatal error LNK1120: 1 unresolved externals

When I built it with VS2019, the build was successful.
I think Substance/Libs etc. are built with VS2019.
I would like to operate with VS2017. Is there any other solution or provision of VS2017 version?

Thanks for watching.

Hello @spdev
I talked to one of our developers and out 2.26.1 plugin is compatible with current marketplace version which is VS2019. We will look into _possibility_ of making the next release of the plugin to be compatible with 2017 but, will not commit to it.

Unity: 2020.3.1f1 (reproduces on many previous version)
Substance in Unity: Version 2.5.4 - December 09, 2020

It seems that all references point to the same texture, look for example the normal map thumbnail (screenshot).

I've found this out by experiencing issues with AssetStore plugins like MicroSplat and TerrainComposer2 that would happen when referencing textures under substance file.

The only way I was able to reference correctly is with baking the textures and then assigning the real textures.

"Substances in Unity" AssetStore plugin does nothing on "*some substance graph* > bake textures to folder" until I switch away from the Unity window and back to it.

Same for previewing the textures when substance is selected (screenshot).

Substance used in the screenshots is from here: but the same issue happened on all other substances I tried.

I'm available to help debug and fix this, official input is much appreciated.

Substance Plugin 2.5.4 is not compatible with UNITY 2020.2 and above. We will have a new Plugin which will work with Unity 2020.2 and above.


The current Substance Plugin available in Unity's Asset Store (2.5.4) is not compatible with Unity 2020.2 and above.

Pages: 1 [2] 3 4 ... 6