[SOLVED] Everything is Pink!

So i just imported some things from the asset store and, everything is pink. If i zoom out it turns normal, but whe i zoom in again everything turns pink again. I have uploaded a picture with it.

#EDIT 1
I found out i makes 3 errors i just don’t know how to fix it. the following errors is this:

(RED !) shader error in ‘Hidden/TerrainEngien/Splatmap/Lightmap-FirstPass’: ‘vert’: output parameter ‘o’ not completely initialized at line 44

(YELLOW !) shader error in ‘Hidden/TerrainEngien/Splatmap/Lightmap-FirstPass’: ‘distance’: implicit truncation of vector type at line 57

(YELLOW !) shader error in ‘Hidden/TerrainEngien/Splatmap/Lightmap-FirstPass’: implicit truncation of vector type at line 76

I also found out it’s the shaderclass in ATS Colormap that is doing it. The file name is TerrainReplacementColorMap_noiftexturefetch
I can post the lines that makes the problems is you guys need them?

I found the solution to the problem. in my terrain it removed the material so i just added the default-defuse material and it removed the pink!

3 Likes

That issue there means that the DX11 renderer is being used, and for some reason, one of the parameters in whatever shader pack (or terrain pack, of which some do include their own shaders) that you downloaded isn’t initialized like it should be for a DX11 shader.

I can help fix it up if you like. just post the problem shader here, and I will figure out what value inside it is causing issues. (Probably a coding shortcut that works in DX9, but not DX11… :smile:)

all assets coming from the asset store was pink so what i did was to change the profile of the graphics into none and we all live happily ever after

1 Like

Hey, being that you replied to this fairly recently, I figured I’d ask you for help. I just imported an asset package and everything (including materials, prefabs, and models etc etc were all pink.) How did you go about changing the profile of the graphics to make this go away? I tried changing the shader to lightweight pipeline and that option isn’t even available to choose from. Any suggestions? Thanks

1 Like

I solved this problem with 2 step.

1- Project Settings/ Graphics → Reset (in top of inspector)
2- Add Sprites/Diffuse in Always Included Shaders manuel.

7 Likes

Posting on a necro since none of those solutions worked for me.

If your project is a new Universal Project Template, and you import 3D model assets, then the shaders likely don’t know how to handle the “old / legacy” materials. As a result, all your models look pink. I don’t really know why it doesn’t work, but I’m sure someone will post a correction to my post (instead of having just answered the problem to begin with).

This worked for me:
Edit > Render Pipeline > Universal Render Pipeline > [choose what you want, likely upgrade the project]

I put the details into a blog post:
http://lateinlifegames.com/pages/why-are-my-models-pink.html

28 Likes

a quick way to fix that is to make/find a good material and apply that to the object that is pink

2 Likes

You are the absolute BEST!!! Thank you.

2 Likes

@east-bay-eff
I just read it. Nice blog.:smile:

====
this led me in the right direction; but my modifications are:
PROJECT SETTINGS/ GRAPHICS -

  • and the first menu item there is SCRIPTABLE RENDERER PIPELINE SETTINGS.
    — select the project you just downloaded,
3 Likes

thank you ! it worked !!

Thank you kind sir.

This did the trick for me! Thanks so much

Where is the Universal pipeline in 2020.1?

My question exacty

You can also switch the shader to Unlit/Texture. This will fix the problem.

4 Likes

Edit > Rendering > Materials > Convert Selected Built-In Materials to URP

2 Likes

My guy, this is at LEAST a 7 year old thread.
Also that is not a solution for everyone; some people can and do make do with the Built-in Render Pipeline. URP often requires reworking significant amounts of a project otherwise built around the Built-in Render Pipeline.

For me, everything in my project was pink.

I was able to solve this by going to Edit → Project Settings → Quality → and then selecting a Render Pipeline Asset. cause mine was somehow set to None.

1 Like