Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Easy Decal - Decals everywhere

Discussion in 'Assets and Asset Store' started by Sycoforge, Oct 28, 2014.

  1. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    Thanks for reaching out! Unfortunately, this a known Unity bug. We have reported this to Unity some months ago. The bug has been confirmed by Unity, but they have then marked it as "Won't fix" because they think this is a minor issue. https://issuetracker.unity3d.com/is...sults-in-errors-and-glitched-inspector-window

    As a workaround (as already suggested by you), you can disable the rendering of the material editor in the project settings under the "Easy Decal" tab. This removes the Unity UI bug, but also the in-component material inspector.
     
  2. damagefilter

    damagefilter

    Joined:
    Nov 6, 2012
    Posts:
    23
    Thanks for the quick reply!

    I see, how it is. Mildly disappointing, especially since that appears to be a minor, yet long standing issue.
    Oh well.

    Another thing, I tried today to get hold of the source code as I would like to silence the warnings about non-readable meshes. As, for my purposes, I'm very okay with that and don't want all meshes to be readable. The logs slow down the Editor massively though.
    However, most links after the account registration on the website seem to lead me to 404 pages.
    Any hints on that? :)
     
  3. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    The auto-invoice-checking on our website is out of order. Just drop us a message (forum, mail, ..) containing your invoice number, and we'll drop you a voucher code to access the additional download on the website. :)
     
  4. y_karpenko

    y_karpenko

    Joined:
    Jun 13, 2018
    Posts:
    3
    Hi,
    I have some questions about this decals - Can I use this decal with static lighting? Should I place lightprobes on my scene or decals can use baked lightmaps? Is it supports static shadomasks or directional lightmaps?
     
  5. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    Once converted to a mesh, you can use static or sampled light intensities.
    Edit: Don't hesitate to download the evaluation version from our website.
     
  6. y_karpenko

    y_karpenko

    Joined:
    Jun 13, 2018
    Posts:
    3
    Thank you!
     
  7. viktorkadza

    viktorkadza

    Joined:
    Sep 4, 2018
    Posts:
    35
    is it way to get shadows on ED vertexAlpaha shaders?
    upload_2020-6-11_1-2-13.png
     
  8. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    When on the Standard renderer, shadows can only be rendered when using an alpha clip/cutout/cutoff shader.
     
    Last edited: Jun 12, 2020
  9. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    Important Note
    Recently, we have received some support emails with invalid respond email addresses which make it impossible for us to answer. For the case that you haven't heard something from us within 48h, please drop us a message in the forum here or on Discord.
     
  10. CodexofRome

    CodexofRome

    Joined:
    Oct 11, 2015
    Posts:
    41
    It would be really wonderful if there was an actual tutorial somewhere that walked a user through the use of this asset. The scant information in the documentation assumes far too much.
     
  11. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    Hi there,
    Thanks for connecting. Maybe the "start from scratch" video could be of help for you:


    If this doesn't help much in getting you started, we could arrange a 10-minute-remote-assistant session with one of our engineers to kickstart things on your side. Just let us know! :)
     
    Willbkool_FPCS likes this.
  12. Higashibashi

    Higashibashi

    Joined:
    May 15, 2016
    Posts:
    6
    Hey I just got this and I think it should be working but having a small issue.
    I get this error message when trying to add a decal using the steps in the document. Currently Using URP the latest version. Something about no Decal Root found but in the hierarchy a Decal Root is automatically created when I add the Easy Decal script to my GameEmpty.
    Help appreciated!
    upload_2020-7-18_23-32-12.png
     
  13. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    Hi there!
    This message just informs about the automatically created game object used by the decal system. You can safely ignore this message. :)
     
  14. Higashibashi

    Higashibashi

    Joined:
    May 15, 2016
    Posts:
    6
    Hey thanks for getting back quickly. I should have also added that the decal also doesn't display in the 3D view.
    I tested it on a brand new project and it does indeed work and also no error message. So I can't work out why it won't work in my project.

    Seen here
    upload_2020-7-19_0-26-20.png
     
  15. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    The Plane projector requires a collider on the receiving mesh. Can you quickly check whether this is the case in your production scene?
     
  16. Higashibashi

    Higashibashi

    Joined:
    May 15, 2016
    Posts:
    6
    Yes I just added a collider just as I read your message and it works!

    We are making a VR project so I'm keen to see how this all works in the end.
     
  17. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    Please keep us updated! :) Don't forget to bake the mesh decals once placed!
     
  18. Hananon

    Hananon

    Joined:
    May 19, 2014
    Posts:
    1
    Hi, thinking of getting this asset when I got budget, had little question.

    I'm using Unity 2019.4 + URP and currently my project need decal solution (that's not fully shader based) to show skill range & targeting on top of specific layers, mostly will be terrain but might also be mesh. It's not gonna be static/baked. It will be moving around and also scaled/animated on runtime whenever player using skills and do targeting. This effect will be shown on two type of cameras: perspective as main, orthographic as minimap.

    Question: Does this asset could help me do that with reasonable performance?

    Example of skill targeting at minute 3 (I'm still not using decal & terrain in that video)


    Thanks!
     
  19. pabsmultiplayer

    pabsmultiplayer

    Joined:
    Sep 5, 2019
    Posts:
    10
    upload_2020-7-20_4-5-50.png
    Any idea what this error means?
    The mesh has a collider, but seems this Box Decal doesntt want to work (I only able to work Plane Decals)
     
  20. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    For this kind of use case, it's recommended using the new screen space decal projector for URP. They are made to perform very good in real time applications. For the aim visual at 3:00, I would use a decal on the ground and centered and offsetted (in world y-direction) meshes for the rings above.

    Please feel free to download the evaluation version!
     
  21. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    Either the mesh is not readable (import settings) or the mesh is corrupted or non-complete in some ways. You can send us the mesh, so that we can check this on our side.
     
  22. pabsmultiplayer

    pabsmultiplayer

    Joined:
    Sep 5, 2019
    Posts:
    10
  23. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    The mesh seems fine and it works on our side. I suppose that the game object has no collider (or isn't a child of a hierarchy that has a collider) and thus can not be detected by the decal. There is an option to search the whole scene for possible projection targets, but this is only recommend in rare case where the decals get placed at design time and the scene is small.

    upload_2020-7-20_11-22-49.png
     
    Last edited: Jul 20, 2020
  24. pabsmultiplayer

    pabsmultiplayer

    Joined:
    Sep 5, 2019
    Posts:
    10
    mm....thanks for reply!
    I will have a look to see what happens.
     
  25. pabsmultiplayer

    pabsmultiplayer

    Joined:
    Sep 5, 2019
    Posts:
    10
    upload_2020-7-22_3-10-15.png

    upload_2020-7-22_3-33-9.png

    any idea why the Atlas Editor seems to not work to me?
     
    Last edited: Jul 22, 2020
  26. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    It seems that something prevented the window instance to successfully initialize the Canva object in OnEnable(). Did you receive some other message/exception prior this to pinpoint the issue?
     
  27. pabsmultiplayer

    pabsmultiplayer

    Joined:
    Sep 5, 2019
    Posts:
    10
    These are the only messages I've got...
    upload_2020-7-22_9-58-32.png

    I'm using Unity 2019.3.14f1
    The plugin support this version?
     
    Last edited: Jul 22, 2020
  28. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    693
    It's fully supported in 2019.x. Did you accidentally delete the "Editor Default Resources"? It seems that the window can not render the canvas because the canvas shaders are missing. Please check if there is the following folder in your project:

    Assets\Editor Default Resources\nu Assets\Shared\Shaders

    it should contain 5 shaders and a *.cginc file.
     
  29. pabsmultiplayer

    pabsmultiplayer

    Joined:
    Sep 5, 2019
    Posts:
    10
    Fixed.

    Thanks!!
     
  30. Higashibashi

    Higashibashi

    Joined:
    May 15, 2016
    Posts:
    6
    Hey Everything is working I think as it should but I noticed I can't use any Easy Decal shader other than the basic Alpha Blend seen here. upload_2020-7-23_17-23-27.png

    I'm trying add some reflective puddle decals but no shader with a smoothness seems to work. It is either pink or doesn't display anything no matter the texture or slider movement on the smoothness.

    Is this the only shader capable of adding smoothness to a decal? upload_2020-7-23_17-27-20.png


    Currently using URP latest official build.

    As always help much appreciated.
     

    Attached Files:

  31. PatrickLipo

    PatrickLipo

    Joined:
    Mar 14, 2015
    Posts:
    35
    Not sure if this has been mentioned before, but Easy Decal when downloaded via the package manager cites 1.6.8B from June 2018 as the latest version. On the store webpage you have a June 2020 update.

    Now with the release of 2020.1 I literally cannot download that newer content because of the Store getting punted out of the Unity Editor... and the web interface just points to the Package Manager. Is this just a matter of publishing a package with the new stuff? Or is the content mislabeled in the PM?
     
  32. LumeStudio

    LumeStudio

    Joined:
    Jun 7, 2019
    Posts:
    2
    -
     
    Last edited: Aug 12, 2020 at 9:58 AM
  33. sas67uss

    sas67uss

    Joined:
    Feb 8, 2020
    Posts:
    48
    Hi is this asset optimized with batching technique?
    I wanna creating shooter mobile game and my questions are : is this asset support static or dynamic batching decals in runtime ? for example how many draw call will spend for such 100 bullet decal ?
     
  34. LumeStudio

    LumeStudio

    Joined:
    Jun 7, 2019
    Posts:
    2
    Last edited: Aug 12, 2020 at 9:57 AM
unityunity