Search Unity

Bug 1.0.0-exp.0 Clicking into scene view breaks physics

Discussion in 'Physics for ECS' started by Occuros, Oct 1, 2022.

  1. Occuros

    Occuros

    Joined:
    Sep 4, 2018
    Posts:
    300

    Attached Files:

  2. mattdymott

    mattdymott

    Joined:
    Dec 27, 2016
    Posts:
    29
    I also have this problem. Very annoying.
     
    DonPuno likes this.
  3. JohnnyTurbo

    JohnnyTurbo

    Joined:
    May 17, 2017
    Posts:
    42
    Same thing happens to me. I noticed it as I use a raycast to select units in the game, if I click on an entity in the hierarchy to inspect its values, I can no longer click to select units in the game. The click still registers, but it is almost as if the raycast doesn't even fire.

     
    Egad_McDad, toomasio and JMPM-UNITY like this.
  4. IsaacsUnity

    IsaacsUnity

    Unity Technologies

    Joined:
    Mar 1, 2022
    Posts:
    94
    Thanks for flagging this folks! We're looking into it.
     
    DonPuno, JohnnyTurbo and mattdymott like this.
  5. JMPM-UNITY

    JMPM-UNITY

    Unity Technologies

    Joined:
    Jun 16, 2021
    Posts:
    94
    We have been looking into this issue closely. We can agree that with the not yet released physics package the physics simulation no longer fails when clicking on an entity in the scene view or in the inspector window. We will work hard to include the fix in the next public release. Thank you.
     
  6. toomasio

    toomasio

    Joined:
    Nov 19, 2013
    Posts:
    199
    Still having this issue in 1.0.0-exp.12 just checking if it's just me.
     
  7. Evgeni_Incineration

    Evgeni_Incineration

    Joined:
    Jul 4, 2022
    Posts:
    27
    Can confirm
     
    toomasio likes this.
  8. daniel-holz

    daniel-holz

    Unity Technologies

    Joined:
    Sep 17, 2021
    Posts:
    278
    Thanks for confirming. We are currently looking into this.
     
  9. daniel-holz

    daniel-holz

    Unity Technologies

    Joined:
    Sep 17, 2021
    Posts:
    278
    Problem is reported fixed in newer editor version (2022.2.0b16) here.
     
    Last edited: Nov 24, 2022
  10. mattdymott

    mattdymott

    Joined:
    Dec 27, 2016
    Posts:
    29
    problem is still there in 2022.2.b16.
     
  11. toomasio

    toomasio

    Joined:
    Nov 19, 2013
    Posts:
    199
    I can confirm that everything works/fixed as intended after upgrading to pre.15 and on b16 editor. Thanks!
     
    JMPM-UNITY and daniel-holz like this.
  12. mattdymott

    mattdymott

    Joined:
    Dec 27, 2016
    Posts:
    29
    pre.15 is not showing in package manager for me.
     
  13. toomasio

    toomasio

    Joined:
    Nov 19, 2013
    Posts:
    199
    had to change it manually in the packages file. just change exp.12 to pre.15 on all entities packages.

    heads up it broke a lot of scripts for me you will need to reformat a bunch.
     
    Envilon likes this.
  14. Envilon

    Envilon

    Joined:
    Aug 8, 2020
    Posts:
    55
    I was getting errors from entities graphics after upgrading physics manually. I also had to manually upgrade Entities Graphics to pre.15.
     
    Last edited: Dec 21, 2022
  15. JMPM-UNITY

    JMPM-UNITY

    Unity Technologies

    Joined:
    Jun 16, 2021
    Posts:
    94
    The dots family packages have dependencies with one another. Therefore, updating a single package manually is likely to break dependencies. I would suggest updating all of them at the same time so as to avoid package version conflicts.
     
    daniel-holz likes this.
  16. JMPM-UNITY

    JMPM-UNITY

    Unity Technologies

    Joined:
    Jun 16, 2021
    Posts:
    94
    Where do I see package dependencies?

    Simple, go to com.unity.physics/package.json (for example) and within "dependencies" you will see the full list of packages that this package needs.

    Using the package manager is more straight-forwards since it does all the manual work automatically. Strongly suggest.
     
    daniel-holz likes this.