Search Issue Tracker

Fixed in 2020.2.X

Votes

6

Found in

2017.4

2019.3.0f3

2020.2

Issue ID

1205209

Regression

No

Static batching changes Normal map on GameObjects when negative values are used on Scale

Graphics - LowLevel

-

How to reproduce:
1. Open the attached "1205209.zip" project
2. Open the SampleScene Scene
3. Enter Play Mode
4. Observe the two Cube GameObjects

Expected result: No changes to the GameObject's when entering Play Mode
Actual result: The right Cube GameObject Normal map changes on Play Mode

Reproducible with: 2017.4.35f1, 2018.4.27f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0a21

Notes:
-This can only work when Static Batching is enabled and the object has negative values on the Scale Transform
-Open Game window in advance to see the changes happening before and after entering Play Mode

  1. Response avatar

    Resolution Note (fix version 2020.2):

    A new sorting pass that splits out objects with an odd number of negative scales has been implemented. It will result in more batches but normals now renders correctly.
    Fixed in 2021.2.0a4

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.