Search Issue Tracker
Won't Fix
Won't Fix in 2023.3.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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).
Resolution Note (2023.3.X):
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).