Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2018.4.X, 2019.4.X, 2020.1.X

Votes

4

Found in

2018.4

2020.1

Issue ID

1205136

Regression

No

[iOS] ARM64 branch out of range (747396072 max is +/-128MB) Xcode error when building development build with script debugging

IL2CPP

-

How to reproduce:
1. Open the 728989.zip project
2. Build the project for iOS with "development build" and "script debugging" enabled
3. Build the exported project via Xcode

Actual result: Xcode build fails with "ARM64 branch out of range (747396072 max is +/-128MB)" error.
Expected result: Xcode build succeeds.

Reproducible with: 2018.4.17f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a23.

Notes:
- Script debugging is required to reproduce this issue.

Comments (18)

  1. Jelmer123

    Oct 28, 2024 10:44

    Ref my previous post: I got the error to disappear by changing code stripping from low to medium..

  2. Jelmer123

    Oct 28, 2024 10:40

    Got this in Unity6 when building to Apple Vision Pro (Polyspatial). With release config and not script debugging.

  3. percent035

    Aug 22, 2024 06:02

    Still on 2022.3.35f1

  4. ali_lessmore

    Feb 15, 2024 16:54

    Having the same issue while script debugging is enabled on unity 2022.3.20f1

  5. pistoleta

    Jan 11, 2024 17:25

    Having this issue on 2022.3.11

  6. slippyfrog

    Oct 05, 2023 19:41

    I'm seeing the issue with Xcode 15 and Unity 2022.3.10 building for iOS with the following enabled:
    Development Build
    and Script Debugging

    Showing Recent Issues
    B/BL out of range 211865292 (max +/-128MB) to '__ZN3Geo8GeoArrayIPKN9Enlighten13MaterialGuids12InstanceInfoEE11SetCapacityEi'

  7. Urjin

    Mar 10, 2023 09:03

    Same for me on Unity 2021.3.12f
    Fixed, with using build settings from "Fastest" to "Faster (smaller builds)"
    Don't know for how long...

  8. stevenchan_playstudios

    Mar 07, 2023 13:46

    Same issue with Unity 2021.3.13f1

  9. IgorBoyko

    Dec 11, 2022 18:01

    Same with Unity 2021.3.15f1, known version to have no issues: 2021.3.12f1

  10. ilyakozyr

    Nov 07, 2022 09:23

    Reproduces for me with Unity 2020.3.33f1 when building in Xcode (on M1 Mac). Was able to fix it after removing parameter "configuration" from the "gym" in Fastfile (it was set to "Debug" during the error).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.