Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

► Advanced Dissolve ◄

Discussion in 'Assets and Asset Store' started by Arkhivrag, Feb 13, 2018.

  1. maramak

    maramak

    Joined:
    Mar 7, 2016
    Posts:
    12
    I`m testing buld on Poco X3 Pro with Snapdragon 860 CPU. The top sphere on screenshot use dissolve effect from Ultimate 10+ Shaders asset and it works fine. Three bottom shperes uses Advanced Dissolve Mobile Diffuse shader.
     

    Attached Files:

  2. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Contact me using support email support@amazingassets.world (with invoice included) and we will check what's going there.
     
  3. Toby31

    Toby31

    Joined:
    Jul 7, 2014
    Posts:
    70
    We are replacing the terrain with a plane and adding the dissolver custom shader to it and then adding the material to the cone for a players vision. but when the player walk's on the plane it is creating an instance of the material. Could this be related to the Advanced dissolver as I see in all of your examples the floor is always present?
     
  4. maramak

    maramak

    Joined:
    Mar 7, 2016
    Posts:
    12
    The problem disappeared after upgrading to Unity 2021.3.22f1
     
    Whatever560 likes this.
  5. Whatever560

    Whatever560

    Joined:
    Jan 5, 2016
    Posts:
    410
    Great that the issue disappeared. Were you getting the issue on your PC build as well ? Because I'm in the same situation where I included all the variants and the dissolve does not show up in builds. I'm on 2021.3.19f1, so if the upgrade fixes it I might try to upgrade (not doing it much because we're close to a deliverable)
     
    Last edited: Apr 17, 2023
  6. Whatever560

    Whatever560

    Joined:
    Jan 5, 2016
    Posts:
    410
  7. WeiWuDe

    WeiWuDe

    Joined:
    Nov 3, 2020
    Posts:
    26
    Would this support the unity version 2022 in the furture? Or What can I do with the unity 2022.2, it is too much if I change my project complete to unity 2021.
     
  8. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    May be will be supported, may be not. I don't like giving such promises for the future. I don't even know what it will be.
    Currently asset is designed and advertised to work with Unity 2019.4, 2020.3 and 2021.3 LTS versions only.
     
    Last edited: May 2, 2023
  9. hifar

    hifar

    Joined:
    Apr 26, 2016
    Posts:
    4
    I got this error in HDRP 14.0.4 and unity 2022.2.1:
    Shader error in 'Amazing Assets/Advanced Dissolve/Shader Graph/Lit (Opaque)': "Undefined area shadow filter algorithm" at /SVNRoot/LevelBuilder/src/LevelBuilder/Library/PackageCache/com.unity.render-pipelines.high-definition@14.0.4/Runtime/Lighting/Shadow/HDShadowAlgorithms.hlsl(53)

    how can I fix it?

    upload_2023-5-1_12-45-8.png

    upload_2023-5-1_12-45-15.png
     
  10. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Unity 2022 is not supported, as it is a 'tech release'.
    Only the latest LTS versions of Unity 2019.4, 2020.3 and 2021.3 are supported.
     
  11. S37H

    S37H

    Joined:
    Apr 1, 2012
    Posts:
    24
    Hi Arkhivrag. We recently updated from the Vacuum Shader's version of Advanced Dissolve to the Amazing Shader's version, currently running in 2022.2.18. The issue is that Amazing Shader's version does not seem to have a Distance Field (Surface) TMP shader available, which allows dissolvable text that also accepts lighting. The Vacuum Shader's version had this. Should it be available or is it due to our version of unity not being supported yet? Perhaps I am missing something?
     
    Last edited: Jun 8, 2023
  12. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    I will check which TMP shaders are missing and try to add AD there if possible.
     
  13. hyieq

    hyieq

    Joined:
    Mar 9, 2022
    Posts:
    2
    Hi, I'v imported the Package, And Install the Universal pack, it says: The name 'headerStateKey' does not exist.
    I'm using the 2021.3.6 Editor Version.
    And I also tried the 2021.3.26 Version(new installed), still comes the 'headerStateKey' issue.
    upload_2023-6-12_16-16-6.png
     
  14. hyieq

    hyieq

    Joined:
    Mar 9, 2022
    Posts:
    2
    After I cleaned the AssetStoreCache (the sub folder) and redownload, It works!!! I wonder why
     
  15. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    There are several AD packages on the server and appropriate one is downloaded based on the used Unity Editor version.
    When using Unity 2021.3.26, correct AD package was downloaded.
     
  16. christougher

    christougher

    Joined:
    Mar 6, 2015
    Posts:
    558
    The previous instructions to integrate Curved World and Advanced dissolve don't seem to apply anymore.... Are the latest versions of Curved world and Advanced Dissolve compatible? I'm trying to get them to work together as they did before. Am I missing a step to integrate them? Thanks!
     
  17. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    For dissolve shaders Curved World can be activated from Curved World editor window (Activator Tab) or if using Shader Graph, add CW node directly there.
     
  18. mchangxe

    mchangxe

    Joined:
    Jun 16, 2019
    Posts:
    69
    hello arkhivrag,

    Im following the steps to generate a advanced dissolve shader from the given Lit (Opaque) shadergraph. The only change i made to the shadergraph is add a tiling and offset node. I followed the steps and got a generated shader, everything seems to be fine except I do not get Advanced Dissolve section in the material inspector, any ideas?
     
  19. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Unity version?
    Render pipeline?
    Are there any messages in the Console window?
     
  20. Odrysius

    Odrysius

    Joined:
    Jul 12, 2019
    Posts:
    3
    upload_2023-7-19_22-12-7.png
    Hey, I am getting these errors on import. Is it anything concerning? Thanks.
     
  21. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Unity version?
     
  22. Odrysius

    Odrysius

    Joined:
    Jul 12, 2019
    Posts:
    3
    2021.3.16f1.

    The 2nd error appear every time i import an asset, but the 1st one appeared after i imported one this time, and it seems that it won't go away, as it can't find that method. I had to revert before i imported the asset so it would work again.
     
  23. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Can you try the latest LTS version? It is 2021.3.28.
    Also what Unity version is mentioned the asset works with, in the ReadMe file of the Installer folder?

    Before using with the 2021.3.28 version, clear Asset Store cache folder (Amazing Assets sub-folder) and re-download asset using Package manager.
     
  24. pepone3d

    pepone3d

    Joined:
    Jul 5, 2012
    Posts:
    22
    I want to set the width(geometric) of a material via script --
    and I don't have an idea how that works. Can you help me how to address that value?

     
  25. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Code (CSharp):
    1. AdvancedDissolveProperties.Edge.Base.UpdateLocalProperty(material, AdvancedDissolveProperties.Edge.Base.Property.WidthGeometric, value);
    Also check manual file page 31, explaining run-time methods.
     
  26. pepone3d

    pepone3d

    Joined:
    Jul 5, 2012
    Posts:
    22
    Thanks, that helped! I am trying to fade my object out via script setting the alpha to zero-
    streetnew.color = new Color(1, .5f, 0, 0f);
    works in the Start() Function - but changing the alpha value in the Update Function
    makes my mesh using the shader simply invisible. Do I need to call Advanced Dissolve
    to make the change visible?

    I also could not find out how th set the Size of the Cutout/Standard/Clip via script.
     
  27. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Code (CSharp):
    1. AdvancedDissolveProperties.Cutout.Standard.UpdateLocalProperty(material, AdvancedDissolveProperties.Cutout.Standard.Property.Clip, #value#)
     
  28. Eneco

    Eneco

    Joined:
    May 28, 2013
    Posts:
    16
    Hello, Unity has 2022.3.x as an LTS which should be supported? https://unity.com/releases/editor/qa/lts-releases

    Cause im also having issues with AD Dissolve on mobile/webgl, while using runtime keywords.
     
  29. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    Contact me using support e-mail (support@amazingassets.world) with more details about your problem and we will check it. And please, include asset purchase invoice.
     
  30. Toby31

    Toby31

    Joined:
    Jul 7, 2014
    Posts:
    70
    have updated project to Unity 2021.3.31f1 LTS and HDRP 12.1.12 and I'm getting multiple errors
    'Amazing Assets/Advanced Dissolve/Shader Graph/Lit (Cutout)': Couldn't open include file 'Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderGraphHeader.hlsl'. at line 6609

    Shader error in 'Amazing Assets/Advanced Dissolve/Shader Graph/Lit (Opaque)': Couldn't open include file 'Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderGraphHeader.hlsl'. at line 241

    I'm sure I've fixed this issue in the past but cant seem to find any reference to it and have seen other people have the same issue on the forum with you saying to update HDRP and unity versions which I'm currently doing so not sure what to do now.

    Could you please point me in the right direction if possible please?
     
  31. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,937
    It looks like shaders need to be update (recompiled) based on the used Unity version:
    • Open Advanced Dissolve / Shaders / ShaderGraph folder.
    • Select .shadergraph file inside Project window and inside Inspector window click on the Copy Shader button. upload_2023-10-25_11-16-47.png
    • After that select the .shader file with the same name and from the context menu choose: Amazing Asset -> Advanced Dissolve -> Generate Shader. upload_2023-10-25_11-19-31.png
    • Repeat steps for all shaders inside Advanced Dissolve / Shaders / ShaderGraph folder.
     
    Toby31 likes this.
  32. Toby31

    Toby31

    Joined:
    Jul 7, 2014
    Posts:
    70
    I've actually managed to solve this issue by updating all of my unity packages that where in the project. They where not showing up at first I think due to having to restart unity
     
  33. Toby31

    Toby31

    Joined:
    Jul 7, 2014
    Posts:
    70
    I'm sure this worked for me before when I had this issue so thank you very much for the response. I've updated all of my unity packages and its fixed it. Sorry for the inconvenience and thanks for the help :) It wasn't showing up as needing to be updated at first
     
  34. Creiz

    Creiz

    Joined:
    Jun 6, 2017
    Posts:
    126
    Did anyone manage to make this work with the open-source UTS Toon Shader yet?