Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2017.4.X, 2018.1.X

Votes

0

Found in

2017.3.0p2

2017.3.0a1

Issue ID

989777

Regression

Yes

Assigning a float3 to SurfaceOutputStandard.Albedo causes compilation errors of the shader

Shaders

-

To reproduce:

1. Open the project, attached by the user (Shader Bug.zip)
2. Observe the compilation errors in the console
3. Open the ShaderBug.shader
4. Comment out line 46
5. Observe that shader compiles fine now

Expected: Assigning a float3 to SurfaceOutputStandard.Albedo works and doesn't cause compilation errors

Reproduced in 2017.3.0a1, 2017.3.0p4, 2018.1.0b5
Did not reproduce in 2017.2.1p3
Regression introduced in 2017.3.0a1

Fixed in 2018.2.0a1

Comments (8)

  1. 1e9ff5bdecd133e0c566c2cbb6c1eba0?d=mm

    seoseoexperts521

    Aug 15, 2020 13:10

    I also added two spheres that float on the water. ... That makes it work with any replacement shaders that you might have and moves the ... To test this color, we'll directly use it for our water's albedo, temporarily ... struct Input { float2 uv_MainTex; float4 screenPos; }; … void surf (Input IN, inout SurfaceOutputStandard o) { … o.
    http://buyfollowersitaly.com/

  2. 1e9ff5bdecd133e0c566c2cbb6c1eba0?d=mm

    seoseoexperts521

    Aug 15, 2020 13:10

    Trying to use both worldPos and assign the SurfaceOutput. ... to help you resolve compilation errors faster during project startup. https://buyfollowersaustralia.com.au/

  3. 52863f4093b5bf2541bcb6a51e9f6355?d=mm

    eseo14376

    Aug 08, 2020 12:44

    The publisher makes no warranty, express or implied, with respect to the ... Console panel: Any compiler or runtime errors will show up in this panel, so make ... assigned shader should be Unlit/RedShader; there should be a place to assign a ... by http://epicfollowers.co.uk/

  4. 52863f4093b5bf2541bcb6a51e9f6355?d=mm

    eseo14376

    Aug 08, 2020 12:44

    Summary In addition to writing shaders almost from the ground up, unity also allows us to define ... And second, a struct called SurfaceOutputStandard. ... Instead we set the albedo part of the output struct to our color value. ... by https://followersuk.uk/

  5. 52863f4093b5bf2541bcb6a51e9f6355?d=mm

    eseo14376

    Aug 08, 2020 12:43

    You are mix matching Surface Shader code and regular shaders: #pragma vertex vert #pragma fragment frag. These are for explicit vertex and ... by http://followersuk.co.uk/

  6. 52863f4093b5bf2541bcb6a51e9f6355?d=mm

    eseo14376

    Aug 08, 2020 12:43

    Platform dependent compilation ... Albedo *= tex2D (_Detail, screenUV).rgb * 2; } ENDCG } Fallback "Diffuse" } ... Because it assigns the reflection color as Emission, we get a very shiny ... Moving vertices along their normals makes a fat soldier: ... by [url=http://followersuk.co.uk/]followers uk[/url]

  7. 901ada7f1d4898283ef784833dac476f?d=mm

    mubynagimi

    Jul 23, 2020 07:01

    Unity that has a made fiction of the data on this it has many communities to read the services on it. Having access to some trackers that were at https://www.allessayvikings.com/ along with the parties that was good to get details about the issues on it.

  8. 0f09841b407bf5b63944b0fa6c4a2209?d=mm

    jennifer2

    Jun 11, 2018 09:18

    tell subway

    tell subway - free cookie coupon

    tell subway australia

    tell subway bahrain

    tell subway bg
    https://www.tellsubway.xyz/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.