Search Issue Tracker

By Design

Votes

0

Found in

2022.3.55f1

6000.0.34f1

6000.1.0b1

Issue ID

UUM-92268

Regression

No

Widgets are not updating in Scene View when an Object is moving using DOTS

-

Reproduction steps:
1. Open the attached “IN-92082” project
2. Open the Preferences window (Edit > Preferences)
3. Under “Entities” Tab, make sure “Scene View Mode” is set to “Runtime Data”
4. Open the “Scenes/SampleScene” Scene
5. Enter the Play Mode
6. Select the “Cube” GameObject from the Subscene
7. Observe the Transform controls in the Scene View

Expected result: Transform controls move along with the GameObject
Actual result: Transform controls stay in the same place and, when used, teleport the GameObject to that position

Reproducible with: 2022.3.55f1, 6000.0.34f1, 6000.1.0b1
Couldn’t test with: 2021.3.45f1 - No support for “Entities” package

Reproducible on: Windows 10, Ubuntu 24.04, Ubuntu 24.10 (user)
Not reproducible on: No other environments tested

  1. Resolution Note:

    Hi,

    the Unity ECS (Entity Component System) and the GameObject world are 2 different systems that are not equivalent to each other.

    Handles, such are the Move tool handle, are meant to interact with GameObjects and Component exclusively for now, as the Entity data does not have a editable scene view representation.
    That's the same for the physics system. Using physics with entities requires to use a system compatible with DOTS, a package exist for this and documentation is available there:
    https://docs.unity3d.com/Packages/com.unity.physics@1.3/manual/index.html

    Globally, you cannot work the way it's currently done in the sample project and try to interact with entity the same way it's done with GO. I encourage you to read more about DOTS and the ECS system, please have a look at the ECS samples available here:
    https://github.com/Unity-Technologies/EntityComponentSystemSamples/blob/master/PhysicsSamples/README.md
    There is some great samples on physics with ECS :) but also others!
    Have fun

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.