Skip to content
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

Thread 1: EXC_BAD_ACCESS (code=1, address=0xa4) #131

Open
jvetulani opened this issue Sep 2, 2019 · 5 comments
Open

Thread 1: EXC_BAD_ACCESS (code=1, address=0xa4) #131

jvetulani opened this issue Sep 2, 2019 · 5 comments

Comments

@jvetulani
Copy link

jvetulani commented Sep 2, 2019

Hi!

Having this issue while running on an iphone, when I press the Toggle Unity button from the example xcode throws this error.

Nothing in this thread helps:
#84

I've added all the privacy permissions I can think of to info.plist, filled out their respective strings with the reason for the usage, also added the UnityCloudProjectID, nothing.

Tried on Unity 2018.2.17f1 and the current 2018 LTS version - 4.6f1, tried cleaning the project.
Running it on an iPhoneX, building with an updated xCode10.1

@edblokcer
Copy link

Currently experiencing the exact same problem with iOS 12 and Unity 2019.1.14f1 / Vuforia 8.3.8.
Error starts when the UnityPostMessage(gameObject, methodName, message); method has been called

@blurxs
Copy link

blurxs commented Sep 10, 2019

Same issue with Unity 2018.1.6f1, XCode 10.2.1, IOS 12.2

@alisherakb
Copy link

Currently experiencing the exact same problem with iOS 12 and Unity 2019.1.14f1 / Vuforia 8.3.8.
Error starts when the UnityPostMessage(gameObject, methodName, message); method has been called

Are you sure that you sending three parameters?
I've experienced the same when sending two parameters and then added third blank:

UnityModule.postMessage('ARWorldContentProvider', 'CreatePost', '')

Hope this helps.

@edblokcer
Copy link

Currently experiencing the exact same problem with iOS 12 and Unity 2019.1.14f1 / Vuforia 8.3.8.
Error starts when the UnityPostMessage(gameObject, methodName, message); method has been called

Are you sure that you sending three parameters?
I've experienced the same when sending two parameters and then added third blank:

UnityModule.postMessage('ARWorldContentProvider', 'CreatePost', '')

Hope this helps.

Thanks for your reply. From the Javascript code it's being triggered by UnityModule.postMessage('ARCamera', 'InitVuforia'), which has been working till I updated React Native and Unity. What would you suggest adding as a third parameter?

An addition to this is that it's working without UnityModule.postMessage('ARCamera', 'InitVuforia') and delayed initialization of Vuforia as setting from Unity.

@edblokcer
Copy link

Misread it a little and added an empty string as the third parameter which indeed solved the problem. Thanks @alisherakb!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants