Questions tagged [unity-urp]
The unity-urp tag has no usage guidance.
44 questions
0
votes
1
answer
32
views
Light dissapear when baking in Unity
I am playing around with Unity and lighting is proving to be the most nerve racking thing about it so far.
I think I understand the types of light and pros and cons of bake vs realtime but when I do ...
3
votes
2
answers
309
views
Rendering transparent UI in Linear Color Space
As you may know, Unity can have issues correctly rendering transparent 2D Sprites/Textures exported from Photoshop or Figma. Reason being that most of these tools operate in Gamma color space while ...
0
votes
1
answer
75
views
Combine 2D and 3D lighting in Unity
I am using URP and would like to have 2D and 3D objects in the scene affected by lights.
This is not supported by Unity, however the docs said that one can use "Camera Stacking" for this ...
1
vote
1
answer
76
views
How to achieve believable interior night light in Unity URP?
I have scene which shows inside of an house. I am trying to achieve night as shown in horror movies. But in order to light up the entire room I have to increase the intensity of light way too much. ...
0
votes
0
answers
34
views
What are the consequences of using AfterRenderingTransparent for grass?
I followed a tutorial for unity URP stencil to hide objects, I want to use it to hide terrain grass under objects like vehicles, houses, etc..
The tutorial says to create 2 layers, and create render ...
0
votes
0
answers
55
views
Terrain and SpeedTree objects render correctly in Editor, but not in Build in both Legacy and URP
The game runs and shows perfectly in Editor, but when I make a build, terrain and some other objects become invisible. This happens the same in both Legacy (Standard) and URP.
I tried to create shader ...
1
vote
0
answers
44
views
How to pass two RenderBuffers into one RenderTexture?
I have a Unity URP project and in the Scriptable Render Pipeline, I would like to create a RenderTexture and pass the depth and color buffer of the camera object as ...
0
votes
1
answer
71
views
Displaying Precisely Scaled Images With URP Decal Projector
I am using Unity's URP Decal Projector to display an oval shaped blob shadow texture.
The image's dimensions are 227 x 70. However, when I use it as a base map for my Shader Graphs/Decal material, it ...
0
votes
1
answer
44
views
Can we use Universal RP shaders for some objects and Mobile shaders for other objects in a Unity scene?
I am sorry if this question sounds silly. But, I am new to Universal RP shaders, and have to ask this question.
Previously, in my project, I had many beautiful objects that use Mobile shaders.
Today, ...
0
votes
1
answer
116
views
Unity 2d with the Android platform crashes with the urp package
I’m new to developing lights in Unity, I looked at the tutorials and decided to use the URP package. When installing the package, the project crashed at first, but then I restarted and the textures ...
1
vote
0
answers
226
views
Recreating The Visual Effect From Super Mario RPG Remake In Unity URP
The upcoming remake of Super Mario RPG uses an effect that adds a 'colorful fog'(I'm really struggling to describe it 😅) to certain parts of the screen. It's mostly used in the corners and top of ...
0
votes
1
answer
689
views
A problem of sampling _CameraOpaqueTexture in Unity 2020.3
I'm using URP 10.6 and I found a wired problem. I use following code to sample the _CameraDepthTexture
...
1
vote
1
answer
987
views
How to create a ScriptableRenderPass that renders normally, with lighting?
What I'm trying to do: Render GameObject(s) of a specific Layer in my custom pass. I want to do something more later, but I'm just trying to get it to render exactly as URP would for now.
I'm just ...
0
votes
1
answer
1k
views
The Unity 2021 URP 2D Renderer Sprite-Unlit-Default material transfers transparency of layered sprites to render texture
So, complicated title, but I am not sure how to properly describe this phenomenon.
I have switched recently from Unity version 2019 to 2021 to use the URP 2D-Renderer and make use of the ...
0
votes
0
answers
907
views
How to make a decal project on a transparent gameobjects in Unity?
I'm using urp pipeline in Unity 2021.3 and in this version Unity has an official decal system. However, this decal system seems not to support transparent gameobject. I can't project the decal on it.
...
0
votes
2
answers
594
views
How to convert from object space to clip space
I want to animate foliage with vertex animation but I have wrong output because I can't correctrly transform from object space to clip space, and my foliage goes off the model. How Can I convert in ...
1
vote
2
answers
939
views
URP Decal Projector - Decal Disappears Depending On Viewing Angle
Issue:
The Decal that my URP Decal Projector is projecting disappears depending on the viewing angle. (Recording Link at bottom)
Setup:
I've added a URP Decal Projector by right-clicking in the ...
2
votes
0
answers
545
views
How to bake ambient light?
I'm working on an indoor maze-like scene, with the only illumination coming from a few static point lights set to either Baked or Mixed mode. Since there are no windows, I'm facing the problem that ...
0
votes
1
answer
2k
views
Render texture not rendering camera output correctly
I have a strange problem that I am not sure if it is a bug from Unity or not. I have render texture that renders camera output to a raw image. Camera looks at a object that consists of 2 parts: the ...
0
votes
2
answers
185
views
After adding a new Assembly File the "Volume" class is no longer found
I added a new assembly file to a folder containing my Unity scripts. After setting the Assembly Definition References all Classes of other assemblies are found except ...
0
votes
0
answers
24
views
Hardware requirements for a Unity game [duplicate]
I am listing a game on Steam and need to set system requirements.
The game is a online 3D game using Universal Render Pipeline with low poly assets.
My idea was to copy the requirements for a similar ...
0
votes
0
answers
726
views
URP Camera Stacking. Different intensity of bloom in different objects
I understand that this topic has been raised more than once, but I have not found detailed step-by-step instructions anywhere on how to do this.
Install the Universal RP and Post Processing packages.
...
2
votes
1
answer
1k
views
Why can't I write to depth buffer if I specify the render target to something different than the default camera frame buffer?
Using Unity's URP I've been trying to setup a scriptable render feature which will add a pass which draws objects on a certain layer to multiple render targets. Unfortunately, I am not able to get it ...
1
vote
0
answers
457
views
Unity URP Water Shader working in Scene View, in the Preview Window... but all white in Game View?
I downloaded an URP compatible Water Shader from the asset store.
First I tried it with 2022.1 but for some reason while in Scene View it looked great, in Game View it's all white. (Sometimes a watery ...
0
votes
0
answers
1k
views
How do I prevent a camera from rendering post-processing effects to a render texture in URP?
So here's my situation. I have two cameras in a game about a bee. The game uses the Universal Render Pipeline. One of them detects blooming terrain at a distance, and is sensitive to its own layer (...
0
votes
1
answer
359
views
Possible to render true HDR from Unity URP on supporting display?
Can the Unity URP actually output an HDR signal to a supporting monitor?
I don't mean HDR values with tone mapping applied to map the values to an SDR signal, but actual HDR values displayed on the ...
1
vote
1
answer
2k
views
Cloud based fog of war
I'm working on a Unity 3D game that requires fog of war. It is seen from above. I was looking for help and found this: (I dont know what game it is though)
This would perfectly fit my needs but I don'...
0
votes
1
answer
431
views
How do I fill a scene with light by using real-time lights in Unity?
This is my scene:
Components of this scene:
Cube
Spotlight
This project is under URP and I am building it for android. In this scene, I want more indirect lighting so that the objects/materials ...
2
votes
2
answers
3k
views
Strange shiny reflection on terrain
So I'm trying to figure out, what's causing this strange reflection on my terrain.
I've tried almost everything to get rid of that shiny circle, but to no avail. It follows me wherever I go, so it's ...
0
votes
0
answers
504
views
Gradient border/drop shadow URP unity shader graph
I am using Unity Universal Render Pipeline and shader graphs in my game. Does anybody know how I would go about setting up a shader graph that adds a black gradient drop shadow/border with the game ...
0
votes
0
answers
105
views
Pix2Pix implementation in URP
I wanted to implement this project (generating image with deep learning algorithm) in an URP project as a PostProcessing Effect.
I did use ScriptableRenderPass, which sound like the correct way to do ...
1
vote
1
answer
6k
views
What are the benifits to Unity's SRP vs Built-in render pipeline
I understand that unity claims the SRP is "more customisable" because you can program it with c# scripts, but is there anything the SRP can do that Built-in cannot, is it possible to achieve ...
0
votes
1
answer
2k
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 ...
3
votes
1
answer
1k
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
1
answer
1k
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
1
answer
50
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
1
answer
297
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 ...
1
vote
0
answers
53
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....
4
votes
2
answers
17k
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
1
answer
1k
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
1
answer
3k
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
1
answer
625
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
0
answers
91
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 ...
4
votes
6
answers
26k
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 ...