How to Fix Pink Materials in Unity 2023 | Render Pipeline Basics

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so your scene in unity is looking a little pink let's fix that first of all I can assure you that this is fixable however we have to understand a couple of things first when this happens it means that there is a mismatch between your materials and your render pipeline in unity there are three main render pipelines so to fix this problem we need to figure out which one you're using and which one you should use the three main pipelines are the built-in render pipeline the high definition render Pipeline and the universal render pipeline generally speaking hdrp and urp are both superior to the built-in render pipeline as a general rule of thumb if you're launching a 3D game with a really high definition graphics and you only plan to launch it to PC and console hdrp is a really good choice if you do plan to launch to Nintendo switch and mobile urp might be a better choice however many game developers still choose to use the built-in render pipeline we'll talk about why in a second but first let's figure out what render pipeline your Unity project is currently using if you set up your project using the 2D or 3D core templates you're most likely using the unity built-in render pipeline if you're not sure which render pipeline you're using this is easy to figure out just go to edit project settings and then Graphics in my case I'm using the built-in render pipeline so it says None here if you're using the universal render pipeline your settings will look like this and if you're using the high definition render pipeline your settings will look like this the built-in render pipeline has been the standard for many years however with advancements in computer technology being able to process more advanced Graphics Unity has come up with a couple more solutions with hdrp catering more towards PC and console and urp catering more towards performance make no mistake urp will eventually be the default for all Unity projects however there's just one catch creators just haven't had a chance to catch up to this yet and there's just not that many assets made for hdrp and urp however almost all assets support the built-in pipeline back to the problem at hand if you're in an hdrp or a urp project this is fairly straightforward you'll go to edit rendering materials and then you get to decide if you want to convert all materials or just the selected materials in the urp project it's mostly the same but you just have fewer options now if you're downgrading to the built-in render pipeline this is where things get a little little bit more labor intensive let's take this fence material for example if we click on it and look at the Shader type we can see that it's showing an internal error to be compatible this needs to be changed back to the standard Shader however you can tell that it's missing some color now what we need to do is map the texture back up to the material so I'm going to go into my textures folder find the corresponding texture of this material and then drag that into the Albedo slot on the material arguably this is not a fun process to go through if you have hundreds of materials but sometimes it is necessary you can alleviate this a little bit by selecting all of the materials that you want to change changing the Shader on bulk to the standard Shader but the texture reassigning does have to be done manually as I'm filling these in we can really start to see this scene come to life and while this isn't the most fun process if you accidentally happen to switch over your render pipeline or you find an asset that you really want to use that doesn't fit your pipeline this process can really be a lifesaver if you got value out of this content I really hope you'll consider subscribing but until then I'll see you in the next video foreign
Info
Channel: Rigor Mortis Tortoise
Views: 6,159
Rating: undefined out of 5
Keywords: pink materials unity, render pipeline unity, unity, unity3d, game development, unity tutorial, pink material, unity pink materials, unity pink, unity pink material, unity urp, unity tutorial for beginners, pink materials unity urp, unity tutorial for beginners 2d, unity tutorial for beginners 3d, unity fix pink material, unity pink shader, unity pink trees, unity pink texture fix, unity pink screen fix
Id: JjHwpP6elnc
Channel Id: undefined
Length: 3min 59sec (239 seconds)
Published: Mon Jan 30 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.