Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4

2019.1

2019.2

2019.3

2020.1

2020.2

2020.2.0a20

Issue ID

1268096

Regression

No

[Preset] Reset functionality does not work for the "Layer Collision Matrix" in the preset of Physics 2D and Physics settings

CodeEditors

-

When the preset of "Physics 2D" and "Physics" is created from "Project Settings", Reset functionality is not working for "Layer Collision Matrix" in the Inspector, refer the attached video.

Steps to Repro:
1. Create a new Project
2. Edit > Project Settings > Physics 2D
3. Create preset of Physics 2D Settings and Physics Settings
4. Project window > Physics 2D/Physics Settings preset > Inspector
5. Layer Collision Matrix > Disable some settings
6. Click on Physics2DSettings burger button > Reset

Actual Result:
Reset functionality does not for "Layer Collision Matrix" in the 2D Physics and Physics preset

Expected Result:
The value of Layer Collision Matrix sets back to default on resetting the preset

Reproducuble on: 2020.2.0a20, 2020.1.1f1, 2019.4.7f1, 2019.3.15f1, 2019.2.13f1, 2019.1.11f1, 2018.4.24f1

Environment:
Windows 10 and Mac 10.14

  1. Resolution Note (2020.2.X):

    Minor. The serialised data is actually reset, but the UI won't work correctly as it reads/writes the flags via static accessors (eg Physics.IgnoreLayerCollision).

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.