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. Dismiss Notice

MeshPaint - Dynamically paint meshes onto other GameObject's surfaces.

Discussion in 'Assets and Asset Store' started by GlitchedPolygons, Jan 12, 2014.

?

MeshPaint on Asset store...

  1. Yes pls

    60 vote(s)
    92.3%
  2. No thanks

    5 vote(s)
    7.7%
  1. GlitchedPolygons

    GlitchedPolygons

    Joined:
    Jun 18, 2013
    Posts:
    209
    Nope, but what a fantastic idea! Thanks for this, I added it to the backlog for the next big update :)
    I wish you a happy holidays season.
     
  2. madruytb

    madruytb

    Joined:
    May 10, 2018
    Posts:
    26
    Hello, I just bought Mesh Brush and when trying to paint nothing happens. I'm getting these errors in the console:

    Code (CSharp):
    1. EndLayoutGroup: BeginLayoutGroup must be called first.
    2. UnityEngine.GUILayout:EndVertical()
    3. MeshBrush.MeshBrushEditor:TemplatesInspector() (at Assets/MeshBrush/Scripts/Classes/Components/Editor/MeshBrushEditor.cs:719)
    4. MeshBrush.MeshBrushEditor:OnInspectorGUI() (at Assets/MeshBrush/Scripts/Classes/Components/Editor/MeshBrushEditor.cs:433)
    5. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    6.  
    Code (CSharp):
    1. EndLayoutGroup: BeginLayoutGroup must be called first.
    2. UnityEditor.EditorGUILayout:EndHorizontal()
    3. MeshBrush.MeshBrushEditor:TemplatesInspector() (at Assets/MeshBrush/Scripts/Classes/Components/Editor/MeshBrushEditor.cs:855)
    4. MeshBrush.MeshBrushEditor:OnInspectorGUI() (at Assets/MeshBrush/Scripts/Classes/Components/Editor/MeshBrushEditor.cs:433)
    5. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    6.  
    I guess that's happening because my Unity version is 2020.1 (URP), is there any fix?
     
  3. GlitchedPolygons

    GlitchedPolygons

    Joined:
    Jun 18, 2013
    Posts:
    209
    Hi there,

    Thanks for letting me know! I'll look into it ASAP! I'll post updates here :)
     
  4. GlitchedPolygons

    GlitchedPolygons

    Joined:
    Jun 18, 2013
    Posts:
    209
    upload_2021-3-9_18-3-12.png

    Hi again, I just checked it out (opened Unity 2020.2.4, created a new URP project and imported the latest MeshBrush from the store).
    While I do see one giant issue, which is the broken materials inside the included example scene, I did not encounter any errors in the console at all.

    Can you please explain exactly step by step what you did so I can reproduce the phenomenon and fix it? :)

    And concerning the disturbing increased pinkness in the demo scene: I'll fix that in the next update! no worries everybody ;D
     
  5. Heli0skim

    Heli0skim

    Joined:
    May 28, 2018
    Posts:
    5
    @GlitchedPolygons

    It's not working on
    - 2019.4.8f1 (LTS)
    - 2019.4.15f1 (LTS)

    The weird thing is that it works fine in the 2020.1.1f1 version.

    It also work in
    - 2019.3.15f1
    - 2019.1.13f1
    - 2018.2.13f1


    Can you check it please?
     
  6. GlitchedPolygons

    GlitchedPolygons

    Joined:
    Jun 18, 2013
    Posts:
    209
    I'll check it out as soon as I'm home!
    Can you meanwhile post the source of the error? What exactly happens? :)
    I remember testing it on all versions, but it can happen that some Unity editor version + rendering pipeline version variants and combinations have slipped through.
     
  7. Heli0skim

    Heli0skim

    Joined:
    May 28, 2018
    Posts:
    5
    Ok...
    Create New Project same version is fine..
    - 2019.4.8f1(LTS)
    - 2019.4.15f1(LTS)

    There is something wrong in my project
    I tried installing Meshbrush again, but it is not fixed.

    MeshBrush is applied to the Inspector, but
    Icons and brushes are not visible in Scene (no response)

    edit 1 ) I'm not use URP, HDRP


    .png
     
  8. GlitchedPolygons

    GlitchedPolygons

    Joined:
    Jun 18, 2013
    Posts:
    209
    Hm, that looks strange. Did you move the MeshBrush folder into another directory after installing maybe? Or what other errors/warnings are there in the console (if any)? If it's a reproducible phenomenon that does not depend on your specific project, feel free to create a test project where the issue occurs (no content, only MeshBrush and whatever is causing the error) and upload it somewhere and post the link here. That would accelerate my debugging a lot :)

    Judging by the fact that it works in a new project, it's possible that this is something tied to your specific environment. Mind to share some more details?

    Cheers
     
  9. Heli0skim

    Heli0skim

    Joined:
    May 28, 2018
    Posts:
    5


    Removed everything except [MeshBrush] from the problem project.

    I tried re-installing [MeshBrush] in that state, but it still doesn't work.

    After capturing the phenomenon that appears to me as a video, I will compress it and send it along with the problem project folder.

    Where can I send it?

    Edit 1) OK I found E-mail and send it
    'glitchedpolygons@gmail.com'
     
    Last edited: Mar 25, 2021
    GlitchedPolygons likes this.
  10. GlitchedPolygons

    GlitchedPolygons

    Joined:
    Jun 18, 2013
    Posts:
    209
    Thanks so much for the quick action! I'll look into it ASAP, promised! :)
     
  11. Heli0skim

    Heli0skim

    Joined:
    May 28, 2018
    Posts:
    5
    It's really weird...
    After creating a new project to test for the cause, I repeated the task of loading the imported assets one by one.
    Now it doesn't work even if only the MeshBrush is loaded.

    There seems to be something wrong with Unity itself
    Uninstalling the Unity version from the Hub and then re-installing it now works normally.
    (Unfortunately, the backup copy that had the problem is still not possible..)

    As a temporary measure, I exported-imported the rest of the project except MeshBrush.
     
  12. GlitchedPolygons

    GlitchedPolygons

    Joined:
    Jun 18, 2013
    Posts:
    209
    Aww :/ I'm so sorry to hear that. I've been struggling a lot too lately with Unity. All these changes that were introduced in Unity...

    It might not appear clear to buyers, but we sellers now have to maintain basically many variants of the same product to comply with the various rendering pipelines compat, hotfix various incompatibilities and F***ups that have nothing to do directly with our assets themselves (but still cost many wasted hours of work) and basically branch out into three or more separate development branches for every asset. URP (ex-LWRP), HDRP, Legacy, LTS and backwards compatible versions...... Some files that are needed by one configuration completely break another, and vice versa...

    It's very unpleasant and messy: some other assets I work on for example had three major breakages due to Unity API changing and renaming stuff within less than two years, and some people even reported just pink scenes whatsoever due to shader issues and editor version mismatches.
    Let's hope this will get better again in the future :) I'm positive!

    Sorry, I'm still out-of-office currently but tomorrow I should have some time to look into this phenomenon in a more detailed fashion.

    Thanks for reporting!

    All the best, and lots of success to you and your project :)
     
    Heli0skim likes this.