Search Issue Tracker

Fix In Review for 12.0.0

Votes

10

Found in [Package]

12.0.0

Issue ID

1312447

Regression

Yes

Particles Shader warnings are thrown "conversion from larger type to smaller, possible loss of data"

Package: Scriptable Render Pipeline Universal

-

To reproduce:
1. Open any project;
2. Navigate to Particles/Lit or Particles/Unlit shaders in URP package;
3. In the Inspector, under Compiled code dropdown, select GLES20 and GLES3x;
4. Press Compile and show code.

Expected result: no warnings are thrown after shader compilation.
Actual result: up to 342 warnings are thrown: "conversion from larger type to smaller, possible loss of data"

Tested and reproduced with URP versions (master branch):
d4d9c2c57dc671a9406470f32b3fe12668d8346e
41a9e99530ec7e37f7b29e35bd0d7ccce4858294
d4c53d60e84b4ecd487730da7a8e61d1593bd339
d0aede8a49d36e76de3679725b53d4ba05a452db
53114f4b5cdb0f92e120dfb69f5ba3652fd7f47b
2423f14de7d51a75811cd00b0bb63aff77822207

Not reproduced with: 10.3.1

Comments (3)

  1. M4R5

    Jun 30, 2021 05:51

    bump

    2020.3.5f1

  2. francois85

    Jun 24, 2021 16:32

    Unity, please help us.

  3. Chaowei_Shi

    Jun 23, 2021 09:17

    Same Errors! GLES20,GLES3X and Vulkan both get the errors!

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.