Post

Replies

Boosts

Views

Activity

Core Haptics error on Unity app iPhone 11 iOS 16.7
Hi, I have implemented Core Haptics into a Unity app but there are some unexpected behaviours. I followed the documentation on GitHub and did not get any errors while implementing it. My issue is core haptics giving errors on iPhone 11. iOS 16.7 but works perfectly on iPhone 13 and iPhone 14 pro. This is the error code I am getting in logs: [hapi] HapticDictionaryReader.mm:44 -[HapticDictionaryReader readAndVerifyVersion:error:]: ERROR: Unsupported version number: 10.0 2023-11-20 18:20:01.040069+0300 *** - Game599:12190] Error occurred playing JSON one-shot: Error Domain=com.apple.CoreHaptics Code=-4809 "(null)" CHException: Exception of type 'Apple.CoreHaptics.CHException' was thrown. at Apple.CoreHaptics.CHHapticEngine.PlayPattern (Apple.CoreHaptics.CHHapticPattern ahap) [0x00000] in <00000000000000000000000000000000>:0 at ButtonController.OpenCenterPanel (UnityEngine.Transform panel) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchPress (UnityEngine.EventSystems.PointerEventData pointerEvent, System.Boolean pressed, System.Boolean released) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessTouchEvents () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents() UnityEngine.EventSystems.StandaloneInputModule:Process() It says unsupported version number: 10.0 I do not know why. For the context I play haptic patterns like this example: HapticEngine.PlayPatternFromAhap(_hitAHAP); How can I solve this problem?
2
1
795
Nov ’23