-
Notifications
You must be signed in to change notification settings - Fork 139
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
EXC_BAD_ACCESS in GAIHandler.m #4
Comments
I have just found that this exception will be thrown when I called the method UploadValues(String, String, NameValueCollection) of System.Net.WebClient So I use UnityEngine.WWW instead without exception. |
Hi patipol I want to make sure I understand what you're saying. Are you trying to use 'UploadValues(...)' when calling one of the tracking methods (if so, could you include a snippet of what the call looks like)? Or are you using UploadValues(...) somewhere else in your code and the plugin is conflicting with it? That will help me narrow down the problem. Thanks! |
I am using UploadValues(...) somewhere else in my code and the plugin is conflicting with it. This occurs after imported googleanalyticsv3.unitypackage to the project. |
I have got same error while I try to use System.Net call. EXC_BAD_ACCESS to line 243 file GAIHandler.h |
What is this send(const *char parameters) method used for? I see no use of it in GoogleAnalyticiOSV3. But somehow it is called by System.Net |
Currently it is not being used. I have removed it until I determine a solution for the conflict, so I will leave this issue open. Thanks to you both for your help and feedback! |
I'm trying to install and setup the plugin for running on an iOS device on my existing project. Following the guideline, I have created a GameObject and and added the script with a public GoogleAnalyticsV3 using GAv3.prefab. Android Tracking Code, IOSTracking Code, Product Name, Bundle Identifier, Bundle Version have already set with
Dispatch Period: 5
Sample Frequency: 100
Debug Mode: VERBOSE
Anonymize IP: false
Dry Run: false
Session Timeout: 1800
Then when running on iOS device, I got an EXC_BAD_ACCESS in
File: GAIHandler.m
Method: void send(const char* parameters)
Line: 244
Statement: NSString *attris = [NSString stringWithUTF8String:parameters];
Not calling any function even DispatchHits() or StartSession() gave me the same result. I have also tried to log the tracker and got (null).
What I have missed? Please suggest me to figure out this issue. Thank you.
The text was updated successfully, but these errors were encountered: