1.0.0-exp.0 Clicking into scene view breaks physics

When clicking on an entity in the scene view, it seems the physics stop working.

I could replicate it in multiple scenes of the updated PhysicsSamples repository.

When sub-scenes are closed that doesn’t happen (but we lose all the names and can’t use gizmos on the physics entities to modify them).

Is this a known issue?

8481830--1127774--click_breaks_physics.gif

I also have this problem. Very annoying.

1 Like

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.

3 Likes

Thanks for flagging this folks! We’re looking into it.

3 Likes

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.

9 Likes

Still having this issue in 1.0.0-exp.12 just checking if it’s just me.

Can confirm

1 Like

Thanks for confirming. We are currently looking into this.

Problem is reported fixed in newer editor version (2022.2.0b16) here .

problem is still there in 2022.2.b16.

I can confirm that everything works/fixed as intended after upgrading to pre.15 and on b16 editor. Thanks!

2 Likes

pre.15 is not showing in package manager for me.

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.

1 Like

I was getting errors from entities graphics after upgrading physics manually. I also had to manually upgrade Entities Graphics to pre.15.

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.

1 Like

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.

1 Like