Search Issue Tracker
Won't Fix
Votes
0
Found in
2023.3.0a14
Issue ID
UUM-55706
Regression
Yes
[iOS] Building iOS project with "Script Debugging" enabled fails in Xcode 15
Steps to reproduce:
# Download/clone project from [https://github.com/Unity-Technologies/URP3DSampleScenes]
# Open the project and switch to iOS
# Make sure *Development Build* and *Script Debugging* settings are enabled
# Build the project
# Open the generated project in Xcode 15 and build
Expected result: Xcode build succeeds.
Actual result: Xcode build fails with the following error:
{code:java}
B/BL out of range 155109532 (max +/-128MB) to '__ZN3Geo8GeoArrayIPKN9Enlighten13MaterialGuids12InstanceInfoEE11SetCapacityEi'{code}
Reproduced with: 2023.3.0a14
Not Reproducible with: 2023.2.0b12
Reproduced with: Xcode 15.0 on macOS 13.6 & macOS 14.0
Not reproducible with: Xcode 14.3.1
Note: Tried to reproduce with a smaller project (empty URP project template) with identical player settings and package versions and wasn't able to. Seems like there's something extra in the project that causes the failure to happen but wasn't able to identify what that is exactly.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note:
The main contributing factor is il2cpp codegen player setting. Setting it to smaller build instead of faster runtime greatly reduces the generated C++ code. Script debugging also adds code and dev build is larger, but these have way less significant impact.
It's not something to fix here. We should change the default codegen value for mobiles to smaller builds though (made PLAT ticket for that).