Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 3.5 and iOS 5.1

Discussion in 'iOS and tvOS' started by cjow, Mar 8, 2012.

  1. cjow

    cjow

    Joined:
    Feb 29, 2012
    Posts:
    132
    Hi, folks!

    Can anyone confirm that Unity 3.5 based apps will not run on iOS due to iOS recently being updated to 5.1? It's the only logical explanation I can think of why my app is stalling on loading.

    Thanks in advance!
     
  2. scrhacfuji

    scrhacfuji

    Joined:
    Mar 8, 2012
    Posts:
    3
    I am having the same issue after upgrading to the latest Xcode with the iOS 5.1 SDK.

    An app generated by Unity3D using Build Run will crash during the loading screen with the following output generated in Xcode console:

    2012-03-08 13:53:05.958 angryBots[1007:707] -> registered mono modules 0xe7a5f8
    -> applicationDidFinishLaunching()
    Mono path[0] = '/var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed'
    Renderer: PowerVR SGX 535
    Vendor: Imagination Technologies
    Version: OpenGL ES 2.0 IMGSGX535-63.24
    GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
    Creating OpenGLES2.0 graphics device
    Begin MonoManager ReloadAssembly
    Platform assembly: /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/UnityEngine.dll (this message is harmless)
    Loading /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/UnityEngine.dll into Unity Child Domain
    Platform assembly: /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Assembly-CSharp-firstpass.dll (this message is harmless)
    Loading /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Assembly-CSharp-firstpass.dll into Unity Child Domain
    Platform assembly: /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Assembly-CSharp.dll (this message is harmless)
    Loading /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Assembly-CSharp.dll into Unity Child Domain
    Platform assembly: /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Assembly-UnityScript.dll (this message is harmless)
    Loading /var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Assembly-UnityScript.dll into Unity Child Domain
    Non platform assembly: /private/var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Boo.Lang.dll (this message is harmless)
    Non platform assembly: /private/var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/System.dll (this message is harmless)
    Non platform assembly: /private/var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/Mono.Security.dll (this message is harmless)
    Non platform assembly: /private/var/mobile/Applications/A4B559FD-E257-45A4-A494-06468065879D/angryBots.app/Data/Managed/UnityScript.Lang.dll (this message is harmless)
    - Completed reload, in 0.283 seconds
    You are using Unity iPhone Basic. You are not allowed to remove the Unity splash screen from your game
    (lldb)
     
  3. cjow

    cjow

    Joined:
    Feb 29, 2012
    Posts:
    132
    Yea, same deal over here ;(
     
  4. scrhacfuji

    scrhacfuji

    Joined:
    Mar 8, 2012
    Posts:
    3
    Further information:

    I am able to compile and run the AngryBots project on the iOS simulator but despite that the App will not run on my iPhone 3GS which has iOS 5.1 on it. I will test different player settings.
     
  5. MariuszKowalczyk

    MariuszKowalczyk

    Joined:
    Nov 29, 2011
    Posts:
    301
  6. scrhacfuji

    scrhacfuji

    Joined:
    Mar 8, 2012
    Posts:
    3
    Confirmed...

    I downloaded Xcode 4.3 for Lion and on Unity 3D I set the Player Settings -> SDK Version to iOS Latest.

    Instead of Build Run I just opted to "Build" the app.

    Unity3d generates an Xcode project which I then opened with Xcode 4.3 not Xcode 4.3.1

    From within Xcode I ran the project and the app loaded and ran just fine on my iPhone 3GS with iOS 5.1.

    I look forward to the day when Unity3D is built with updates of Xcode and iOS already in mind.

    Apple has had Xcode 3.2.1 with iOS 5.1 in beta for the longest time. This update should have been anticipated with the rapid adoption of updates that is prevalent in the Apple ecosystem.

    Future proof people!!! Screw the business model and future proof!!!
     
  7. franktinsley

    franktinsley

    Joined:
    Jul 1, 2010
    Posts:
    130
    Same exact issue here. Haven't found a fix for it yet. Hope they post a hot fix update soon!
     
  8. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    They probably had much prepared but the beta versions didnt include all changes so the new iPad wouldnt be revealed ahead of time. Splash screen system and error could be among those things since new iPad has its own now.
     
  9. Mantas-Puida

    Mantas-Puida

    Joined:
    Nov 13, 2008
    Posts:
    1,864
  10. CoCoNutti

    CoCoNutti

    Joined:
    Nov 30, 2009
    Posts:
    513
    Hm looks like i won't be updating anything for 5.1 until these issues are sorted..... **
     
  11. cjow

    cjow

    Joined:
    Feb 29, 2012
    Posts:
    132
    Thank you for the replies and clarification. Running through 4.3 as described above has seemed to do the trick. Is there any sort of ETA for when Unity will support 4.3.1 since this is still faffy :p
     
  12. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    How do you get 4.3? I only have 4.3.1 and 4.2 (most likely) in my trash.



    errrrr.
     
  13. cjow

    cjow

    Joined:
    Feb 29, 2012
    Posts:
    132
    Go here - https://developer.apple.com/downloads/index.action

    Find XCode 4.3 for Lion (untick everything but Developer Tools on the left to make it easier). Download the .dmg and then place the Xcode.app in the .dmg anywhere. I advise renaming it to something like XCodeOLD.app to save confusion.

    GL.
     
  14. techmage

    techmage

    Joined:
    Oct 31, 2009
    Posts:
    2,133
    I have a project compiling under Xcode 3.1 and unity 3.5

    If its not working for you, are on your iOS advanced or basic?
     
  15. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
  16. andrelms91

    andrelms91

    Joined:
    Feb 23, 2012
    Posts:
    2
    The problem is to use version 5.1 (SDK) and Xcode 4.3.1, because when you compile it changes the properties of the image, probably due to insertion of the retina system for the iPad 3. forming a white band near the home button. Thus consider changing the splash screen to build the iPhone. Using version 4.3 these problems disappear.

    :razz:
     
  17. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Yah same.
    Holy smoke balls.
    So what is the image properties of the new image?
     
  18. smunity

    smunity

    Joined:
    Dec 9, 2011
    Posts:
    4
    Same problem

    (...)
    Loading /var/mobile/Applications/83476D7F-24DE-4F2F-ACFA-30B56B788773/myapp.app/Data/Managed/Assembly-UnityScript.dll into Unity Child Domain
    - Completed reload, in 0.103 seconds
    You are using Unity iPhone Basic. You are not allowed to remove the Unity splash screen from your game
    (lldb)

    Any solutions from Unity that doesn't include downgrading XCode?
     
  19. AngryAnt

    AngryAnt

    Keyboard Operator

    Joined:
    Oct 25, 2005
    Posts:
    3,045
    We do not currently support the latest version of Xcode. We will let you know as soon as we have an upgrade available.
     
  20. bpritchard

    bpritchard

    Joined:
    Jan 29, 2009
    Posts:
    444
    @angryant,

    Is this an issue only with iPhone Basic or are the issues more rampant w/the latest/greatest? I'm running pro versions so i just wanted to clarify if there were issues there as well. I have a customer who's asking me to test the builds out on the latest version but i'm hesitant to upgrade to the latest, but i'm not seeing a TON of grumblings outside of this splash screen issue.
     
  21. opsive

    opsive

    Joined:
    Mar 15, 2010
    Posts:
    5,122
    I have pro and haven't had a problem with the latest version of iOS and Xcode.
     
  22. bpritchard

    bpritchard

    Joined:
    Jan 29, 2009
    Posts:
    444
    thx Opsive, i've downloaded the latest/greatest and am gonna give it a whirl. :)
    Fingers crossed!

    Cheers
    Bryan
     
  23. trriley

    trriley

    Joined:
    Mar 13, 2012
    Posts:
    1
    Here is what I have found.
    After updating iOS to 5.1 and xcode to 4.3 and unity, I too got the splash screen warning. but also when i went to load my existing Xcode projects it upgraded the projects. thank God I made backups first.
    resolved it by installing Xcode 4.0 and using the updated project..
    Almost worked. had trouble getting players pref's but i think that was maybe my fubar.

    As a developer for for Windows for 12 years I am used to this update stuff screwing things up ALL the time. With Mac and IOS it is a rarity.
    So in all fairness lets give unity a break. They have a good record and may have missed the boat on this one but for what they provide and the time they save us, one OPPs in 5 years is still pretty good.
     
  24. Mantas-Puida

    Mantas-Puida

    Joined:
    Nov 13, 2008
    Posts:
    1,864
  25. NT7Games

    NT7Games

    Joined:
    May 21, 2009
    Posts:
    43
    Because you ARE allowed to change the splash screen.
     
  26. NT7Games

    NT7Games

    Joined:
    May 21, 2009
    Posts:
    43
    I figured the Splash Screen warning was because of the new iPad retina display. The stock launch images provided by Unity are not the right resolution for iPad retina displays. Having a universal app, I set my project to iPhone only just so I could build and deploy my project in the meantime... But I still get the error when I build for iPhone only!

    Definitely needs a fix ASAP.
     
  27. davemo

    davemo

    Joined:
    Mar 14, 2012
    Posts:
    2
    I just got bit by this today as well. I've been able to compile sample apps from the Qualcomm Augmented Reality plugin fine, but when I generate my own they seem to barf.. trying to process what the diffs are now :(
     
  28. goat

    goat

    Joined:
    Aug 24, 2009
    Posts:
    5,182
    Thank you. More reason to either build the Unity Splash screen as following up a 'private splash screen' or doing away with that screen as a pro feature. It's like look! His jeans are from K-Mart!

    This is pure silly that an asset on something like that causes this much trouble.
     
  29. goat

    goat

    Joined:
    Aug 24, 2009
    Posts:
    5,182
    Anyone now how to change the default xCode.app on osX?

    I've renamed 4.3.1 version to xCodeNEW.app and put xCode.app 4.3.0 in the same location as 4.3.1, updated my dock and Unity still builds using 4.3.1 (because osX still knows that is the current version despite my renaming it).
     
  30. RolfBertram_dot_me

    RolfBertram_dot_me

    Joined:
    Mar 1, 2011
    Posts:
    128
    Just do "File-Built-Settings - Built", not "Built and Run". Next, find xCode 4.3.0 in Finder and click on it.
     
  31. Mantas-Puida

    Mantas-Puida

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Hi,
    we have beta quality build for closed group testing. This build includes Xcode 4.3.x/iOS 5.1/iPad3 fixes and improved support. Please PM me if you want to get this beta build ahead of time.
     
  32. FiveFingers

    FiveFingers

    Joined:
    Oct 15, 2009
    Posts:
    541
    What's the ETA for a release version ?
     
    Last edited: Mar 30, 2012
  33. Didstopia

    Didstopia

    Joined:
    Apr 2, 2012
    Posts:
    1
    I do hope this gets fixed asap.
     
  34. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Bump.
    I am kind of surprised Unity has not, to my knowledge, formally annouced their knowledge of this. Hope they get on it... I am sure they spare, just yes, i am lucky because I do not need to test rest now on ghe device but will in a week or two.
     
  35. loadexfa

    loadexfa

    Joined:
    Sep 2, 2008
    Posts:
    214
  36. goat

    goat

    Joined:
    Aug 24, 2009
    Posts:
    5,182
    Thanks, I'll do that when I get back to it...
     
  37. AngryAnt

    AngryAnt

    Keyboard Operator

    Joined:
    Oct 25, 2005
    Posts:
    3,045
    If you look closely you'll find that both on page one and two we have indeed confirmed that we're aware of the issue - coming from two different developers :)

    We're still aware of it and we'll have a new release available soon which includes support for the latest version of Xcode.
     
  38. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Great.
    I became aware of it a month back. Since i have just dropped porting to the device as it was not 100% necessary. Thanks. Is there an ETA?
     
  39. AngryAnt

    AngryAnt

    Keyboard Operator

    Joined:
    Oct 25, 2005
    Posts:
    3,045
    "Real soon" ;)
     
  40. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    YES.


    :::)()(()





    Hooray.
     
  41. Guro

    Guro

    Joined:
    Apr 5, 2012
    Posts:
    1
    Is there any news about this problem?
     
  42. morty346

    morty346

    Joined:
    Dec 16, 2010
    Posts:
    18
    Bueller???
     
  43. potatojin

    potatojin

    Joined:
    Apr 11, 2012
    Posts:
    23
    I hate to just add a complaint to this thread, but I will just this once... ;)

    I grabbed Unity before the 4/8 deadline in order to try out iOS dev through Unity, and now I'm stalled unless I downgrade my copy of XCode. It seems like Unity knew about this issue for a while (since iOS 5.1, it would seem).

    My (unfortunately not very helpful) question is: Why would Unity encourage everyone to run and download Unity for iOS when it's broken with the most recent stuff? Why not just wait a week or two until it's patched?
     
  44. kerstov

    kerstov

    Joined:
    Apr 11, 2012
    Posts:
    1
    While I don't necessarily want to imply any intentions, it's still suspicious why such a patch needs that long and why this problem occurs exactly the same time a free giveaway is available. Apparently peope who go for the iOS Pro Version don't have the problems described here...
     
  45. morty346

    morty346

    Joined:
    Dec 16, 2010
    Posts:
    18
    Theres something to say about companies that apply updates and patches fast, history shows their usually the ones that stick around
     
  46. potatojin

    potatojin

    Joined:
    Apr 11, 2012
    Posts:
    23
    Yes, I guess this was the larger point behind my complaint. As someone considering building a _business_ on top of Unity, these issues, and the handling of the free promotion do not inspire confidence.

    For those of you who have been Unity (and particularly Unity iOS) devs for a while: how often does stuff like this come up? I know Apple can screw things up pretty quickly with new OS releases, but the issues usually show up in beta, and sharp devs seem to manage to stay on top of it. Tying your product to a platform that might not stay on top of such things sounds scary.
     
  47. coolpowers

    coolpowers

    Joined:
    Mar 23, 2010
    Posts:
    125
    First of all, the fix is out http://unity3d.com/unity/whats-new/unity-3.5.1

    Second of all, as I said before (either here or in another thread) the Xcode / SDK change requiring retina splash screens on the new iPad came completely unannounced - it wasn't in any of the 5.1 SDK betas. Could UT have gotten a fix out for just this issue slightly faster? Possibly, but it makes a lot more sense to roll in other fixes. Releasing an update to a dev tool with a million users isn't something to take lightly.
     
  48. potatojin

    potatojin

    Joined:
    Apr 11, 2012
    Posts:
    23
    Amazing. Thanks for the update and the background.
     
  49. karlhale

    karlhale

    Joined:
    May 1, 2012
    Posts:
    4
    Well, it looks like this is happening again. I'm using:
    Unity 3.5.5f3 Pro but with only iPhone basic
    Xcode: 4.5.2

    And I'm getting: "You are using Unity iPhone Basic. You are not allowed to remove the Unity splash screen from your game"

    Any suggestions?
     
  50. Mantas-Puida

    Mantas-Puida

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    go for Unity 3.5.6f4