Author Topic: Can't set format of generated textures  (Read 9223 times)

Tried Substance 2.4.5, on Unity 2020.1.0b7 with HDRP 9.0.0 (due to some Shader Graph fixes in that version). In 2020.1, Unity uses the PackageManager exclusively for importing/updating Asset Store assets. The PackageManager shows the latest build as 2.4.4, however when I install it, in the Substance > About menu option, it shows as 2.4.5 (beta).

Although 2020.1 is still in beta, I wanted to point out that the latest version does not fix the Alpha8 problem when compression format is set to Raw.

There is also another problem with texture compression. The setting "Compressed" makes the alpha channel the same as the red channel. The setting "CompressedNoAlpha" shows the alpha channel as it is supposed to be, interestingly enough.

Additionally, using Unity's new "Preset" functionality in the top right of the inspector of the Substance textures causes the editor to hang when trying to save a preset.

Can someone take a look into this for 2020.1?

@korindian77 ,

Thanks for the report! Looking into this now :)

edit: The red channel/alpha issue is on our radar, and we have a ticket for it. Should be fixed fairly soon in a new release. I'm looking into the other issues. :)
Last Edit: May 06, 2020, 12:25:10 am

hi, here i got alpha8 problem too.
Unity 2018.4.0f1, substance plugin 2.45

i make a simple sbsar to test a custom output, used a RGBA merger -> Output node (tried RGB and RGBA usage),
when my unity was on PC platform, it works fine.
once i switch platform to android, this custom output texture turn to alpha8, and mess up my test.

also, when i first import the substance plugin into unity, i got dll not loaded errer as the follow:
Code: [Select]
Assembly 'Assets/Allegorithmic/Plugins/Substance/Substance Engine/Editor/Substance.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'Substance.EditorHelper'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.



hi, here i got alpha8 problem too.
Unity 2018.4.0f1, substance plugin 2.45

i make a simple sbsar to test a custom output, used a RGBA merger -> Output node (tried RGB and RGBA usage),
when my unity was on PC platform, it works fine.
once i switch platform to android, this custom output texture turn to alpha8, and mess up my test.

also, when i first import the substance plugin into unity, i got dll not loaded errer as the follow:
Code: [Select]
Assembly 'Assets/Allegorithmic/Plugins/Substance/Substance Engine/Editor/Substance.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'Substance.EditorHelper'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.

@Jiaxin Han 0 ,

Can you post a link to the Substance file (.sbs file preferred) you are using for the Alpha8 issue?

The second error you are having, the devs are aware of it and a ticket is in for the issue. As far as I know, this is a 2018 only issue (but the plugin still seems to work).

Hi, it's been a while, and I'm still seeing the Alpha8 UNorm issue when setting compression to RAW.

Using Substance 2.5.2, Unity 2020.1.3f1, HDRP 9.0.0-preview.54

Also, when changing compression settings and pressing apply, when selecting anything else in the project window, I get a popup asking me to Apply or Revert. If I hit Apply, it reverts back to old compression setting. If I hit Revert, it keeps the changes. This is backwards, but also the popup shouldn't even be coming up once Apply is pressed the first time in the inspector.

Any update on the following issues?

Unity HDRP Alpha8 UNorm issue when setting Substance compression to RAW, which means we can't have textures without compression, and which also means we can only export textures from substances as they look like when compressed. This was listed as fixed, but it's not.

Duplicated materials' inspectors missing.

Both of these are pretty serious issues with the plugin currently.

Any update on the following issues?

Unity HDRP Alpha8 UNorm issue when setting Substance compression to RAW, which means we can't have textures without compression, and which also means we can only export textures from substances as they look like when compressed. This was listed as fixed, but it's not.

Duplicated materials' inspectors missing.

Both of these are pretty serious issues with the plugin currently.

@korindian77 ,

Apologies for the delay. We have a fix for it in code review along with some other bug fixes. We hope to post the 2.5.3 plugin to our beta group this week/early next week, then later to the asset store. If you wanted to join the beta group to get the plugin before we post to the asset store let me know your discord name+numbers and I can add you.

While the duplicated inspector bug was fixed with the latest 2.5.3 release (thank you for that), the HDRP Alpha8 UNorm issue when setting Substance compression to RAW still hasn't been addressed.

Unity 2020.1.12f1, HDRP version 9.0.0-preview.77,  and Substance plugin 2.5.3.

This issues has been there for many Unity, many HDRP, and many Substance versions.

Can this please, please, please, please be fixed in the next version??? I've been reporting on this bug consistently for almost a year now. Please see the history in this thread. Thanks.

Hello @korindian77 can you verify that you have the same issue with Plugin 2.5.3 and Unity version that you are using?

Yes, the post above yours has the Unity and Substance plugin version info that I verified with. Previous posts in this thread  listed other versions where it was also not working.

Can I get a confirmation that the issue is still unaddressed and will be addressed, please?

After another week, bumping this thread for confirmation that this bug is being looked into, thanks.

Hi @korindian77
One of our developers is looking at this. Will update as soon as I have a feedback from him.

Hi, hoping that since it's been a month, this issue will be fixed soon? Thanks.

Hi @korindian77
We are still looking at the problem. We see different problems with different versions of UNITY.
Can you try to send us a zip file of a sample of the problem you have? If your project is too big to be sent via DM, perhaps you can try to create small scaled problem and send us via direct message.

Thx,

Hi,
I've sent you a PM with a link to a substance archive that has the Alpha8 RAW problem, but this happens with any substance archive I use.

Here are the versions where this issue occurs, as reported in this thread.

Unity 2019.3.0f4, HDRP 7.1.7, Substance 2.4.3
Unity 2020.1.0b7, HDRP 9.0.0, Substance 2.4.5
Unity 2020.1.3f1, HDRP 9.0.0-preview.54, Substance 2.5.2
Unity 2020.1.12f1, HDRP 9.0.0-preview.77, Substance 2.5.3
Unity 2020.2.0f1, HDRP 10.2.2, Substance 2.5.4

This is not related to my project, as I've just created a new empty project with 2020.2.0f1, HDRP 10.2.2, Substance 2.5.4, and imported several substance archives. All of them turn non-normal map textures into Alpha8 when Compression is set to RAW.
Last Edit: December 24, 2020, 01:34:13 am