Search Issue Tracker
Fixed in 2020.1
Fixed in 2019.2, 2019.3
Votes
1
Found in
2017.4.0f1
2017.4.23f1
2018.3.0a1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1174009
Regression
No
EventSystem.current.IsPointerOverGameObject(touch.fingerId) always returns false in Player
To reproduce:
1. Download attached "NewRepro.zip" project and open in Unity
2. Open "HelloAR" scene
3. In Hierarchy go to PlaneDiscovery > Canvas > Text and change Text Component Color to Dark Color
4. Build for iOS
5. Deploy the Xcode project to the iOS device
6. When App is deployed press anywhere on the Screen
7. Observe that in the Upper Screen there will be printed "Not pointing UI" message
Notes:
- This issue happens on both Standalone, iOS, Android (Mono and IL2CPP)
- This issue also happens even tapping on the UI GameObject
- This issue only occurs when you build from a clear Project which means no Library folder
- The Customer followed the usage in https://docs.unity3d.com/ScriptReference/EventSystems.EventSystem.IsPointerOverGameObject.html
Tested with:
- iPhone 6s Plus, iOS: 11.4.1 - Reproduced
- iPhone 8, iOS: 11.0 - Reproduced
- iPhone 8 Plus, iOS: 12.0 - Reproduced
- VLNQA00125, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540 - Reproduced
Reproduced on Unity 2017.4.0f1, 2017.4.31f1, 2018.3.14f1, 2018.4.6f1, 2019.1.14f1, 2019.2.1f1 and 2019.3.0a11
-
amitsri20
Mar 25, 2020 10:18
Hi
I don't see it fixed in 2019.3.6f1, IsPointerOverGameObject() with touch finger id always returns False as there is no UI touched.
Tested on iPhone 7.
Please suggest
-
AlonMixed
Dec 16, 2019 16:05
It is not fixed in 2019.3.0f1
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
- [Particle System] Editor freezes when assigning a nested Particle System in the Sub Emitter Module
- Unable to switch to different material when selecting another material from Asset selector window on Particle System Material
- [UI] Float type parameter in the Animator Controller displays 0.0 after being changed to a value <0.05
- Inspector displaying wrong characters when using ANSI encoding and non latin characters in a Shader property
- Error in console when using the progress bar API along with Texture compression
Resolution Note (fix version 2020.1):
The EventSystem Update() function should be called first before the Update function() on any of the User scripts.
When a Library folder is deleted this order is lost, and the user script gets the Update() call prior to the EventSystem and as a consequence the current bug comes up
Hence it is not recommended to delete the library folder.