Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.2.X, 2017.3.X

Votes

0

Found in

2017.2.0a1

2017.2.0f3

Issue ID

963200

Regression

Yes

Animated object size is changed when if condition contains enum variable

Physics2D

-

How to reproduce:
1. Open given Unity project
2. Enter play mode
3. Notice that after some turns, the size of car changes

Expected result: Car should rotate when conditions are met
Actual result: When car reaches the state car is rotated but, then the size of car changes

Regression first introduced in: 2017.2.0a1
Reproducible with: 2017.2.0a1, 2017.2.0b1, 2017.2.0f3, 2018.1.0a1
Not reproducible with: 5.6.2f1, 2017.1.1p4, 2017.1.2p2

Note:
However, this issue might be avoided if in IF statements direction == MovingDirection.Right and direction == MovingDirection.Left is removed. Although, condition statements should not affect Unity project.

Add comment

Log in to post comment