Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2020.3.X, 2021.3.X
Votes
0
Found in
2017.3
2020.3
2021.3
2022.1
2022.2
Issue ID
1417578
Regression
No
Raycast may fail after moving a lot of Game Objects
How to reproduce:
1. Open and run the attached project (PhysicsTest.zip)
2. Observe the Console and wait until the Editor pauses because of the "Debug.Break()" on line 43 of the "Test.cs" script
Expected result: The Raycast never fails and the Console keeps printing the position that the raycast hit
Actual result: After about a minute the Editor pauses and the Console prints "No ground!" indicating that a Raycast failed
Reproducible with: 2020.3.34f1, 2021.3.3f1, 2022.1.1f1, 2022.2.0a11
Comments (4)
-
Wawwaa
Jun 28, 2024 13:06
This is not fixed in Unity 2022.3.5 and still happening!!!
-
nxtboyIII
Dec 14, 2023 16:30
Also having issues with this on Unity 2021.3.30f1
-
Zimbres
Jul 23, 2022 15:06
Tested on my game, did not fixed my issue
-
Gotmachine
Jun 18, 2022 11:58
Can anybody expand on the exact nature of this bug (sharing the reproduction project of this issue would be nice) and possible workarounds ?
I'm experiencing a similar issue with raycasts starting to randomly fail after some time, and the game involves moving many GameObjects continuously through their transform position/rotation.
Reproduced in Unity 2019.2 up to 2019.4, wasn't happening in 2017.1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a12