#Stencil scene "Mask" material showing as purple

1 messages · Page 1 of 1 (latest)

north gust
#

Hey,
Im taking a look at the Stencil Portal scene, and the Mask material is showing as purple. It says on the Samples page that its compatible with URP, and I can obviously see the URP settings in the package. Ive tried upgrading the material to URP, but I get the console output "Mask material was not upgraded. There's no upgrader to convert UnityGLTF/UnlitGraph shader to selected pipeline". I've also noted there is no layer assigned which I assume is not correct.

Is there an additional step I need to take to get this to work? It is working in an older project, though thats about three months old, and I cant recall if I did something to resolve the above.

Unity : 2022.3.12f1
Needle : 3.37.7

outer masonBOT
# north gust Hey, Im taking a look at the Stencil Portal scene, and the Mask material is sho...

Thanks for reaching out @north gust

Please read through the following and share the information requested. This will help us to better assist you.

Description

Describe the issue that you're seeing. Please be as detailed as possible e.g. is this issue happening in Unity or Blender, which Needle Engine version are you using, do you see any errors in the Editor or Browser console, etc.

Information:

  • If you're using Unity click the menu item Needle Engine/Report a Bug/Copy Project Info to Clipboard. Please share the results below.
  • Please provide code snippets using Discord Code Blocks
  • Have you contacted Needle through another channel or just through Discord?

Thanks for submitting!

💡 Did you know that we now also have a forum with AI support? Join now with your discord account!

celest leaf
#

Hey 👋 could you select the RP object in the hierarchy and make sure the correct URP asset is selected (it has to contain "stencil" in its name).

#

Also, we added a helper regarding the layers :)

#

And here you can name all the used layers 👍 The sample will work without these since its just name for the indexs, but you are not able to assign them in editor without a name :)

#

@north gust Let me know if you have furhter questions :) 🌵

north gust
#

Hey @celest leaf I missed this response earlier, so apologies with the delay.

  • The RP object in the hierarchy has the correct Render Pipleline Asset associated
  • I've added the missing masks
    However its still not working. This is following a fresh install. The Mask material is still purple, and the mask effect isnt working.
celest leaf
#

Hm, that's odd. Today i verified that the sample works on the 2022.3.20

Could you go into Graphics settings and really make sure that the stencil asset is assigned?

#

Also double check that you have the latest samples pacakge (0.16.0) 👍

north gust
#

It is assigned yes, and the samples package is 0.16.0

#

Ill record a short video showing all settings

#

This works in another project I have that is the same version of Unity, but 0.15.0 for the samples btw.

celest leaf
#

Ok, do you by any chance override the asset in the Quality settings?

#

And if it is indeed broken, could you show me how does your Sample Stencil URP Renderer look like?

north gust
#

My God I didnt realize I had assigned a renderer in the Quality settings, spot on @celest leaf !

#

Thank you 🙂