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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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).