Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 5.6.X, 2017.1.X
Votes
0
Found in
5.6.2f1
Issue ID
923135
Regression
Yes
PolygonCollider2D.points shows "Assertion failed on expression: 'm_data == NULL'" when setting a new Vector2 array to it
To reproduce:
1. Open the project, attached by the user (PolygonCollider2DSetPointsAssert.zip)
2. Open the "Scene01" scene
3. Enter Play mode
4. Observe the console
Expected: setting the PolygonCollider2D.points doesn't show any errors if the property is set with the correct values
Reproduced in 5.6.1p2, 5.6.2f1, 2017.1.0f1, 2017.2.0b1
Did not reproduce in 5.5.4f1, 5.6.1p1
Regression introduced in 5.6.1p2
Workaround: use polygonCollider2D.SetPath (0, pointsArray) instead. This doesn't show any errors
Fixed in 2017.2.0b2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment