Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by nlandry · Aug 28, 2016 at 06:51 PM · iosunity adsfailurelaunchsimulator

iOS simulator failing to launch

I am working on bringing a game a built for Android using Windows, which uses Unity Ads and Facebook to the iOS. I transferred over my project files from my PC to my Mac and opened the Unity project and built the xCode project files fully on my Mac. I have been able to successfully build the xCode project and it will continue to launch the simulator and show the launch screen. It is after this where it will break, and freeze the simulation, or force close it if debug freezing is turned off. When it breaks it gives me a an error Thread 1: EXC_BAD_ACCESS(code=1, address=0x0).

Here is the full list of where it breaks.
fallenleaf`::FetchAdsId():
0x7b1a96 <+0>: pushl %ebp
0x7b1a97 <+1>: movl %esp, %ebp
0x7b1a99 <+3>: pushl %edi
0x7b1a9a <+4>: pushl %esi
0x7b1a9b <+5>: subl $0x20, %esp
0x7b1a9e <+8>: movl 0x8(%ebp), %edi
0x7b1aa1 <+11>: calll 0x3b574 ; UnityAdvertisingIdentifier at DeviceSettings.mm:42
0x7b1aa6 <+16>: movl %eax, %esi
0x7b1aa8 <+18>: calll 0x166ea3 ; ::get_current_allocation_root_reference_internal() at MemoryMacros.cpp:20
0x7b1aad <+23>: movl %eax, -0xc(%ebp)
0x7b1ab0 <+26>: movl %esi, (%esp)
0x7b1ab3 <+29>: calll 0x1369e2a ; symbol stub for: strlen
0x7b1ab8 <+34>: movl %eax, 0x8(%esp) Thread 1: EXC_BAD_ACCESS(code=1, address=0x0)
0x7b1abc <+38>: movl %esi, 0x4(%esp)
0x7b1ac0 <+42>: leal -0x18(%ebp), %esi
0x7b1ac3 <+45>: movl %esi, (%esp)
0x7b1ac6 <+48>: calll 0x273fc4 ; ::__init() at string:1975
0x7b1acb <+53>: cmpl %esi, %edi
0x7b1acd <+55>: je 0x7b1af4 ; <+94> [inlined] ~UnityStr at String.h:783
0x7b1acf <+57>: movzbl -0x18(%ebp), %eax
0x7b1ad3 <+61>: testb $0x1, %al
0x7b1ad5 <+63>: jne 0x7b1ade ; <+72> [inlined] __get_long_size at string:1431
0x7b1ad7 <+65>: leal -0x17(%ebp), %ecx
0x7b1ada <+68>: shrl %eax
0x7b1adc <+70>: jmp 0x7b1ae4 ; <+78> [inlined] assign + 21 at string:2414
0x7b1ade <+72>: movl -0x14(%ebp), %eax
0x7b1ae1 <+75>: movl -0x10(%ebp), %ecx
0x7b1ae4 <+78>: movl %eax, 0x8(%esp)
0x7b1ae8 <+82>: movl %ecx, 0x4(%esp)
0x7b1aec <+86>: movl %edi, (%esp)
0x7b1aef <+89>: calll 0x232c54 ; ::assign() at string:2348
0x7b1af4 <+94>: movl %esi, (%esp)
0x7b1af7 <+97>: calll 0x273e68 ; ::~basic_string() at string:2274
0x7b1afc <+102>: calll 0x3b7cb ; UnityAdvertisingTrackingEnabled at DeviceSettings.mm:64
0x7b1b01 <+107>: testl %eax, %eax
0x7b1b03 <+109>: setne 0x10(%edi)
0x7b1b07 <+113>: movl $0x1, %eax
0x7b1b0c <+118>: addl $0x20, %esp
0x7b1b0f <+121>: popl %esi
0x7b1b10 <+122>: popl %edi
0x7b1b11 <+123>: popl %ebp
0x7b1b12 <+124>: retl

As you can make it has to do with something with Unity Ads calling FetchAdsID() and returning something null, at least this is what I can make out of it but I cannot pinpoint a solution and all my searching for how to fix this problem has lead me no where. I do have Unity Ads enabled for iOS and in TestMode in the editor and to ONLY show test ads in the Unity Ads Control Panel.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

[IOS] Launch my app while music is playing stop the music 1 Answer

I keep getting this error when i try to test my app on Xcode in my iPhone, Ive tried everything. Please help 1 Answer

Unity Ads video player stuck to 0ms position 0 Answers

Building for iOS Simulator 1 Answer

iOS build error with Unity Ads 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges