-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A problem when using Nice Vibrations in Unity #35
Comments
Did you ever fix this? We're having the same problem and I thought I fixed it before but it broke again randomly |
No, I had to use another asset |
Did someone fixed this issue? |
Did anyone fixed this? |
I am also getting same issue. can anyone help? |
I swapped to this plugin instead: https://github.com/CandyCoded/HapticFeedback |
I'm still getting this issue when trying to build despite having UnitySwift-Bridging-Header assigned. Is there a fix for this issue? |
I have just added Nice Vibrations to my Unity project and now I get this error while building the whole React Native + Unity app on rect-native-unity-view compile step:
Module 'UnityFramework_NiceVibrationsPrivate' not found
(https://prnt.sc/10cremj)UnityFramework_NiceVibrationsPrivate is described in module.modulemap file in Nice Vibrations library (https://prnt.sc/10crh5p):
module UnityFramework_NiceVibrationsPrivate {
header "UnitySwift-Bridging-Header.h"
export *
}
It connects swift and Obj-C code:
MMNViOSCoreHapticsInterface.swift -> UnityFramework_NiceVibrationsPrivate -> UnitySwift-Bridging-Header.h:
#import <Foundation/Foundation.h>
#import <CoreHaptics/CoreHaptics.h>
#import "UnityInterface.h"
typedef void (*HapticCallback)();
Nice Vibrations has post process script to add some dependencies when building Xcode project from Unity:
https://prnt.sc/10crmx7
https://prnt.sc/10cro72
Unity Framework compiles OK https://prnt.sc/10crqcr , but has warning:
Umbrella header for module 'UnityFramework' does not include header 'UnitySwift-Bridging-Header.h'
When build comes to react-native-unity-view, I get the error https://prnt.sc/10crsgk
I will be grateful for any help or ideas in solving the problem
The text was updated successfully, but these errors were encountered: