Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug I can't start on ios12 if i build with unity2020

Discussion in 'iOS and tvOS' started by unity_6w44BfjJt7V8xg, Dec 19, 2022.

  1. unity_6w44BfjJt7V8xg

    unity_6w44BfjJt7V8xg

    Joined:
    Feb 12, 2019
    Posts:
    3
    The project output for iOS with Unity2020 series cannot be started on iOS12.4.

    After creating an empty project and changing the Platform to iOS, when I start the iOS12 simulator with Xcode, the splash screen does not appear and it does not progress from the black screen.

    Unity2021 will have the same behavior and will not be playable.
    I confirmed that Unity2019 can be started even with iOS12.4.
    Did you need any additional settings for building iOS from Unity2020?

    Here is the log when running in Xcode
    -------------------------------------------------- ----
    2022-12-15 18:47:54.963163+0900 2020341Test[26113:10356163] Built from '2020.3/staging' branch, Version '2020.3.41f1 (7c19dc9acfda)', Build type 'Development', Scripting Backend 'il2cpp'
    2022-12-15 18:47:54.970415+0900 2020341Test[26113:10356163] MemoryManager: Using 'Dynamic Heap' Allocator.
    -> applicationDidFinishLaunching()
    Found 2 interfaces on host : 0) 192.168.11.17 1) 192.168.11.2
    Multi-casting "[IP] 192.168.11.17 [Port] 55000 [Flags] 2 [Guid] 991583504 [EditorId] 1152491887 [Version] 1048832 [Id] iPhonePlayer(8,N-0041noMacBook-Pro.local):56000 [Debug] 0 [PackageName] iPhonePlayer [ProjectName] 2020__3_41Test" to [225.0.0.222:54997]...
    Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported.
    Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated
    -> applicationDidBecomeActive()
    GfxDevice: creating device client; threaded=1
    NullGfxDevice:
    Version: NULL 1.0 [1.0]
    Renderer: Null Device
    Vendor: Unity Technologies
    Initialize engine version: 2020.3.41f1 (7c19dc9acfda)
    ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
    UnloadTime: 0.295471ms
    -------------------------------------------------- ----
     

    Attached Files:

  2. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,603
    starting with 2020.something openGL ES is no longer supported by unity, i.e. it is either Metal or so called "null device" (no rendering is done) which happens in your case:
    Code (csharp):
    1. GfxDevice: creating device client; threaded=1
    2. NullGfxDevice:
    3. Version: NULL 1.0 [1.0]
    4. Renderer: Null Device
    Metal on simulator requires xcode11 and macos 10.15. Since xcode11 is required i would assume you need to target ios13 on simulator (but i am not sure honestly)
     
  3. unity_6w44BfjJt7V8xg

    unity_6w44BfjJt7V8xg

    Joined:
    Feb 12, 2019
    Posts:
    3
  4. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,603
    > Unity's system requirements say 2020.3 is "iOS11", but does this only work from iOS13?
    this is kinda unrelated. Your problem is that when run on simulator metal cannot be used (for some reason). Did you try using newer ios version on simulator?
     
  5. unity_6w44BfjJt7V8xg

    unity_6w44BfjJt7V8xg

    Joined:
    Feb 12, 2019
    Posts:
    3
    I tried it on iOS13 and it worked