Touch not working on Apple iPhone deployments ? Has something changed in Unity or Xcode?

Hi guys its been a long time since I deployed to the iPhone. I have been using the UNITY Simulator to test stuff and now I am testing deployment to the iPhone.

Now I have never had a problem with my main menu in my game before. The touch events worked fine upon deployment to the iPhone. In fact the Menu scene has not changed at all. Its very basic for touch events on images. Now I find out either with the later versions of Unity or Xcode there is some problem. All my animations on the menu scene runs great and the audio is great but all screen touches are just ignored.

In Xcode I notice the following below. Does anybody know what’s going on ? Is it Unity or Xcode that causes this simple click event trapping to fail on iPhone deployment but works great in the Unity Simulator…

So essentially I have gone through all the Unity and iPhone upgrades and now after ages I got to deploy and all goes well and touches are ignored on the Menu Scene that I have. I have trawled google but to no avail so any help at all would be much appreciated.

Here is my Xcode Debug info below that takes me to a great looking menu with animations running and no touches allowed but audio and everything else is great. : -

022-08-27 15:52:32.170660+1000 Swarm Effect[963:68238] Built from ‘2022.1/staging’ branch, Version ‘2022.1.14f1 (ff7e140968b4)’, Build type ‘Release’, Scripting Backend ‘il2cpp’

2022-08-27 15:52:32.176572+1000 Swarm Effect[963:68238] MemoryManager: Using ‘Default’ Allocator.

[UnityMemory] Configuration Parameters - Can be set up in boot.config
“memorysetup-bucket-allocator-granularity=16”
“memorysetup-bucket-allocator-bucket-count=8”
“memorysetup-bucket-allocator-block-size=4194304”
“memorysetup-bucket-allocator-block-count=1”
“memorysetup-main-allocator-block-size=16777216”
“memorysetup-thread-allocator-block-size=16777216”
“memorysetup-gfx-main-allocator-block-size=16777216”
“memorysetup-gfx-thread-allocator-block-size=16777216”
“memorysetup-cache-allocator-block-size=4194304”
“memorysetup-typetree-allocator-block-size=2097152”
“memorysetup-profiler-bucket-allocator-granularity=16”
“memorysetup-profiler-bucket-allocator-bucket-count=8”
“memorysetup-profiler-bucket-allocator-block-size=4194304”
“memorysetup-profiler-bucket-allocator-block-count=1”
“memorysetup-profiler-allocator-block-size=16777216”
“memorysetup-profiler-editor-allocator-block-size=1048576”
“memorysetup-temp-allocator-size-main=4194304”
“memorysetup-job-temp-allocator-block-size=2097152”
“memorysetup-job-temp-allocator-block-size-background=1048576”
“memorysetup-job-temp-allocator-reduction-small-platforms=262144”
“memorysetup-temp-allocator-size-background-worker=32768”
“memorysetup-temp-allocator-size-job-worker=262144”
“memorysetup-temp-allocator-size-preload-manager=262144”
“memorysetup-temp-allocator-size-nav-mesh-worker=65536”
“memorysetup-temp-allocator-size-audio-worker=65536”
“memorysetup-temp-allocator-size-cloud-worker=32768”
“memorysetup-temp-allocator-size-gfx=262144”

→ applicationDidFinishLaunching()

Loading player data from /private/var/containers/Bundle/Application/1306D74B-7D00-4D1B-8425-A53754CEE670/Swarm Effect.app/Data/data.unity3d

Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported.
Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated

→ applicationDidBecomeActive()

[Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/1306D74B-7D00-4D1B-8425-A53754CEE670/Swarm Effect.app/Data/UnitySubsystems

GfxDevice: creating device client; threaded=1; jobified=1
Initializing Metal device caps: Apple A13 GPU
Initialize engine version: 2022.1.14f1 (ff7e140968b4)
2022-08-27 15:52:32.555976+1000 Swarm Effect[963:68518] Errors found! Invalidating cache…
2022-08-27 15:52:32.850223+1000 Swarm Effect[963:68518] Errors found! Invalidating cache…
2022-08-27 15:52:32.973132+1000 Swarm Effect[963:68238] Unbalanced calls to begin/end appearance transitions for <SplashScreenController: 0x15022b530>.

UnloadTime: 4.101458 ms

2022-08-27 15:52:34.919207+1000 Swarm Effect[963:68238] IOSNative::LogLevel → info:true warning:true error:true

[SingletonAncestor] Using instance already created: GlobalGameObject
SingletonAncestor`1:get_Instance()
LoadingScreen:Start()

Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 1.977958 ms
Unloading 8 unused Assets to reduce memory usage. Loaded Objects now: 1338.

Total: 1.550708 ms (FindLiveObjects: 0.338541 ms CreateObjectMapping: 0.157334 ms MarkObjects: 0.982334 ms DeleteObjects: 0.071834 ms)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.590042 ms
Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 2000.

Total: 0.498583 ms (FindLiveObjects: 0.097958 ms CreateObjectMapping: 0.044625 ms MarkObjects: 0.320375 ms DeleteObjects: 0.035375 ms)

Thank God the mouse events now work for touches again when deployed under Unity Version 2022.1.20f1. They certainly don’t work under 2022.1.16.f1 . No code was changed at all. Just adding event system and removing it to see if that was it. I verified removal of the event system component had absolutely no effect. The sprite in question used the mouse events NOT on a canvas. So no code was modified since this problem started. Just FYI if that helps anyone.