Search Unity

Default probuilder texture vanishes when object is created

Discussion in 'World Building' started by Desoxi, Feb 11, 2019.

  1. Desoxi

    Desoxi

    Joined:
    Apr 12, 2015
    Posts:
    121
    Hey,

    i want to use the default probuilder texture in 2018.3 but as soon as i create the object, its replaced with a plain grey material.

    Is there a way how to use the default texture by "default" how it should be?

    In preview:
    upload_2019-2-11_13-36-23.png

    Once created:

    upload_2019-2-11_13-36-51.png
     
  2. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    623
    Hi! Are you using LWRP or HDRP, or have you changed your default material in the ProBuilder Preferences?
     
  3. Desoxi

    Desoxi

    Joined:
    Apr 12, 2015
    Posts:
    121
    Yes indeed, im using the LWRP. But no i didnt change my default material.
     
  4. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    623
    Ah! That makes sense. In LWRP, we default to Unity's material, because the non-LWRP "standard" shader will not work.

    I'll look into updating this on our end (thanks for the note!), but for now you can do this yourself via:

    1) Create a new material, using the texture "Gridbox_Default" (search in the Project tab, make sure you choose "Packages", not the default "Assets")
    2) Modify the material however you like
    3) Open the PB prefs (Edit > Preferences, click "ProBuilder" on the left), and set the "Default Material" to your newly created material

    Hope that helps! -gw
     
    Desoxi likes this.
  5. Desoxi

    Desoxi

    Joined:
    Apr 12, 2015
    Posts:
    121
    Thank you, works like a charm!
     
    gabrielw_unity likes this.