Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.1f1
Issue ID
960581
Regression
No
Collider2D.IsTouchingLayers() not working if the collider is used by an effector
To reproduce:
1. Open the project, attached by the tester (touchingLayersBug.zip)
2. Open the "scene" scene
3. Enter Play mode
4. Press Space (this calls collider.IsTouchingLayers ())
5. Observe the console
6. Select "GameObjectInCustomLayer" game object
7. Disable the Platform Effector 2D and turn off Used By Effector flag in the Polygon Collider 2D
8. Repeat 4 - 5
Expected: IsTouchingLayers method works properly when touching a game object that has Platform Effector 2D attached to it
Reproduced in 5.5.5p1, 5.6.4p1, 2017.1.1f1, 2017.1.2p2, 2017.2.0f3, 2017.3.0b6, 2018.1.0a1
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #950833