Questions tagged [unity-urp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

How can I tint the color of a decal in Unity?

For my game, I want some sort of indicator of if a space is walkable or not. To achieve this I figured I would create a decal projector and have it follow the mouse cursor around, displaying a decal ...
0
votes
0answers
43 views

Lights do not fully respect SortingLayers in Universal Render Pipeline

I just installed Universal Render Pipeline (10.5.1) into my Unity (2020.3.15f2) 2D project and believe I have everything configured correctly. I created a new RenderPipeline asset I deleted the ...
3
votes
1answer
43 views

Why is this back-facing texture showing through?

I have a mesh of some walls and a floor that I want to be visible from both sides. I duplicated the faces and flipped their normals in Blender, then exported it as an FBX to import in Unity. I've set ...
0
votes
0answers
25 views

Fade in / Show unity lights only at a specific distance from a camera

I noticed that in URP point / spotlights are not initially visible at a distance and then they sort of fade in the closer they get to the camera. I am wondering if I can control this behaviour somehow?...
0
votes
0answers
77 views

How to make a shadow-casting day/night system in 2D URP?

I am trying to achieve a day/night lighting system similar to the game RimWorld. Short preview of what I want can be seen here: https://giphy.com/gifs/VgzcwtjueP7BrYSrXe Instead of using Global Light ...
0
votes
1answer
40 views

Lights beyond the fourth do not appear?

In my scene there are 6 point lights. But 2 of them do not illuminate my floor plane. If I disable any of the working lights, then one of the non-working lights starts working. It's like my level can'...
0
votes
1answer
36 views

Edge bleeding with opacity map

I want to layer a grass texture with opacity over a dirt texture to form an edge. Both on the same model. But I'm getting edge bleeding from the opacity. I made both textures within Substance Designer ...
0
votes
0answers
29 views

Particles render differently on transparent and non transparent background when capturing them with screenshoot in Unity(URP)

Hi maybe the title is not really good so I will try to explain it as much as I can. So I want to take a screenshot of some particles over a sprite. For screenshot I use this code: ...
0
votes
0answers
81 views

Unable to capture transparent background with post processing on while taking a screenshoot in Unity URP

I am trying to capture a screenshot of a sprite with transparent background and it works while post processing is of, but when I turn post processing on background is no longer transparent. I am not ...
1
vote
0answers
12 views

Pink Objects/Sub-Meshes (NOT MATERIALS)

Using URP. Any object I import into unity from blender (fbx), the sub-mesh that comes with it are pink. All the materials are fine, I can put the object in my scene with a material and it looks normal....
0
votes
0answers
82 views

How can I optimize this blur shader?

I'm trying to do a bit of shader development. I found this optimized version of gaussian blur (shadertoy demo), rewrote it in ShaderLab:: ...
3
votes
1answer
2k views

Why is my Post Processing not working?

I'm trying to get Post Processing working in my Unity Project, with URP enabled, but I'm not seeing it work. I've looked at a few tutorials and I've followed them exactly, but I never see any post ...
0
votes
1answer
149 views

Raycast is not restricting by other layer collider

I have converted my project to URP and suddenly I found the situation where my Raycast code even is working beneath the collider (other layer colliders): ...
1
vote
1answer
888 views

Weird blue shine on URP Lit shader Unity

I recently started to use URP and I am noticing a weird blue like tint on shiny objects that use the URP/lot shader and I can't understand what it is and how can i remove it.
0
votes
1answer
183 views

Render texture seems to ignore camera background type

I'm currently trying to pull a fog of war for an rts game, and planned it like this. (Unity 2020.2.7, URP 10.3.1) Use units field of view to generate a texture of what is seen (alpha 0). Create other ...
0
votes
0answers
36 views

URP water showing Differently in on Runtime

I am using this water for my URP webgl build but the problem is it is showing differently on the editor. When I run the game then it showing correctly and when I build and run it in the browser then ...
0
votes
0answers
117 views

RenderPipleinManager.DORenderLoop_Internal() Taking Unusual Amount In profiler

I am developing for WebGL and for optimization purposes I have converted to URP. After converting the tri count has dramatically improved but the problem is my FPS is not improving. I tried to profile ...
0
votes
4answers
4k views

Why are all materials pink in my Unity URP project?

Version: Unity 2020.2.0f1 I started my project with Universal Render Pipeline template but I don't know why all materials are pink. I even tried to upgrading but nothing happened. This error was ...