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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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).