Hey, I try to create a simple AR Portal for iOS and Android but I have problems with the stencil shader. I tried a few things that I could found on the discord Server, tagged the shader but it always seems that the shader is not exported. In Unity it works perfect but on web the masks are just white.
I have read that Quicklook also have a problem with custom shaders, so is there any possibility to create a stencil shader for quicklook? Thanks for your answers
Sadly even the template project “Stencil Portals” is not working although I use URP. If I create a new Render Pipeline and try different settings on stencil nothing happens when I try to export it. Am I missing something essential to get the stencil running? I know that there was a post with the same problem, but i cant solve it.
Thats the only Error i get, after I imported the packages for Needle but I am not sure if this is responsible for my problem.
I try it with an older Unity Version Maybe that helps
Hi @MarcChris we’re investigating we wanted to make a release just now and it seems like the Stencil settings are missing in the exported samples package. We’ll get back to you in a little bit
Okay I tried the project with Unity 2021 and although there are some Materials not working in Unity, it works after I export it on Glitch. I dont know if I have some settings wrong in 2022, but I keep testing
Now its working on Unity 2022, but only after I assigned the Renderer from the sample. Then there was a error about blitter and Unity tried to rebuild the scene for 7 minutes, before I closed and restarted Unity. And then Unity fixed the error by itself and everything worked perfectly.
Good to hear it works now - do you have by any chance the editor still open and could send the current and prev editor log (just in case it contains anything useful)