Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2019.3.0f1
2020.1.2f1
2021.1
Issue ID
1292639
Regression
Yes
Empty square brackets appear in the scene file after adding the Composite Collider 2D
How to reproduce it:
1. Open the attached project "1292639.zip"
2. Open the “Test.unity” file with the Visual Studio
3. In Visual Studio find the "m_CompositePaths" object
4. Notice that "m_CompositePaths" object doesn't contain empty brackets ("- []")
5. In the Unity Editor, load the "Test" scene
6. In the Hierarchy view, select the ‘GameObject’
7. In the Inspector view, find and remove Composite Collider 2D
8. Add a new Composite Collider 2D component to the 'GameObject'
9. Save the “Test” scene
10. In Visual Studio observe the "m_CompositePaths" object
Expected result: "m_CompositePaths" object doesn't contain empty square brackets ("- []")
Actual result: Empty square brackets ("- []") appears in the "m_CompositePaths" object
Reproducible with: 2019.3.0f1, 2019.3.15f1, 2019.4.15f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a9
Not reproducible with: 2018.4.30f1, 2019.3.0b12
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Economy package throws a CS0619 error in the Console when installed together with Deployment package
- “Screen position out of view frustum” errors are thrown when zooming out in the Scene view with Rect Tool selected
- Only one [UnityOneTimeSetUp] method runs when there are 2 of them in different classes
- Crash with multiple stack traces when Sprites with a high resolution get Sliced to a Grid with a small cell size in the Sprite Editor
- The UI Builder's Data Source Object picker cannot be navigated after triggering a circular dependency dialog box
Add comment