Search Issue Tracker

Fixed

Fixed in 1.4.X - Physics

Votes

0

Found in [Package]

1.3.8 - Entities

1.4.X - Physics

Issue ID

ECSB-1463

Regression

No

The Physics World Index is 0 on Joints when the parent's index is set to 1

Package: Unity Physics

-

How to reproduce:
1. Open the “bug-report-unity-physics-world.zip“ project
2. Open the “SampleScene“
3. Enter Play Mode
4. Open the Window > Entities > Hierarchy window
5. Set the Data Mode to “Runtime“
6. Select one of the “Child” Entity’s children in the Entities Hierarchy > EntitiesSubScene and find the Physics World Index Component in the Inspector
7. Observe the Inspector

Expected result: The value is 1
Actual result: The value is 0

Reproducible in: 1.2.0, 1.3.8 (2022.3.56f1, 6000.0.34f1, 6000.1.0b1)
Could not test in: 0.51.1-preview.21 (2021.3.47f1) (No PhysicsWorldIndex Component)

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested

Note: This might be a Unity Physics package bug

  1. Resolution Note (fix version 1.4.X - Physics):

    Fixed in 1.4.x: Correctly set the physics world index of joint entities baked from built-in joint authoring components to the value provided by a `PhysicsWorldIndexAuthoring` component that is present on the same joint's game object. Previously, a `PhysicsWorldIndexAuthoring` had no effect on the physics world index of baked joint entities, leaving their physics world index the default, which prevented them from being simulated within the correct physics world.

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.