Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

0.3.2-preview

Issue ID

1249585

Regression

No

[Unity Physics] PhysicsWorld Bodies aren't updated when all Physics Entities are destroyed

Package: Unity Physics

-

Reproduction steps:
1. Open attached project "InvalidECSPhysicsData" and scene "SampleScene"
2. Enter Play Mode
3. Observe Console window

Expected result: After "Destroyed Entity", the number of bodies in PhysicsWorld is 0
Actual result: After "Destroyed Entity", the number of bodies in PhysicsWorld is 2

Reproducible with: 2019.3.15f1, 2020.1.0b10, 2020.2.0a12 (Physics 0.3.0-preview.1, Physics 0.3.2-preview)
Could not test with: 2018.4.23f1 (Physics package not available), 2019.3.15f1, 2020.1.0b10, 2020.2.0a12 (Physics 0.2.5-preview.1, PhysicsWorld.Bodies.Length returns 0)

  1. Resolution Note:

    Issue now tracked in JIRA

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.