question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alpha Testing not working

See original GitHub issue

Possibly related to #59

Alpha testing does nothing and is seemingly always enabled with a cutoff value of 1. The only cause I can think of is that OutlineColor.URP has a shader error saying invalid subscript 'uv'.

It’s about this line of code

half4 FragmentAlphaTest(Varyings input) : SV_Target
{
	half4 c = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, input.uv); // error occurs here
	clip(c.a - _Cutoff);
	return 1;
}

Which is… stupid, why would Varyings not have uv, it has always had uv!? Am I crazy?!

Not sure what to do yet, Varyings is taken from #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" and it will have to be investigated.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
Ciubix8513commented, Jan 2, 2023

I managed to fix this issue in my project with the following steps:

  1. Create a new Outline Resources file
  2. Create a blank shader graph URP unlit shader
  3. Set Render shader in the created resources file to the created shader
  4. Set Outline shader to Outline.URP
  5. Set Outline resources of all Outline feature render features in the Universal Renderer Data to the created resources file
1reaction
CaseyHoflandcommented, Jan 2, 2023

@Arvtesh I’d love to create another, very simple, PR for this, but you haven’t accepted my first one yet. Like I said before, I really like this outline implementation and I hope you’ll find the time to approve them so that it stays supported for everyone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

play store alpha test download link not working
There are several causes for the internal/alpha testing link not working: 1-You are on a different google play account 2-Your email is not...
Read more >
Alpha testing your app in Google PlayStore
Alpha testing an app means releasing it to a controlled users groups which are not necessarily associated with the development of the app ......
Read more >
Portal dlc Mission bugged? : r/evilgenius
During the 'alpha testing' side quest, one of the objectives is to 'combo aperture wall launcher with repulsion gel', or around those lines....
Read more >
I can't seem to access my Google Play alpha release
I'm working on my first game for the Google Play store, ... I get a page that says the app is not available...
Read more >
How to set up Google PlayStore Alpha Testing | Blog
If you have not set up an Alpha test, just login to the PlayStore console, select your app, and then the relevant testing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found