Search Issue Tracker

Fixed

Fixed in 6000.0.4f1

Votes

0

Found in

6000.0.3f1

Issue ID

UUM-73643

Regression

No

Crash on mono_array_length when switching to a custom iOS build profile

--

-

How to reproduce:
1. Open the attached "CrashRepro" project
2. Go to Build Profiles (File > Build Profiles)
3. Select iOS from the Build Profiles list
4. Press “Switch Profile“

Reproducible with: 6000.0.3f1
Not reproducible with: 6000.0.5f1, 6000.0.6f1
Couldn’t test with: 2021.3.39f1, 2022.3.33f1 (Build Profiles feature not available)
Fixed in: 6000.0.4f1

Reproducible on: macOS 14.5 Sonoma (Intel), Windows 11 (reported by user)
Not reproducible on: No other environment tested

Notes:
- The project always crashes when opening it after following the reproduction steps
- Reproducible in a new project

First few lines of stack trace:
#0 0x000001090162e4 in mono_array_length(MonoArray*)
#1 0x00000109084ed3 in scripting_array_length(ScriptingArrayPtr)
#2 0x00000109fd58b4 in invokeEditorBuildProfileScriptCompilationDefines(BuildTargetPlatform, int, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>>&)
#3 0x00000109fd538b in GetScriptCompilationDefines(EditorScriptCompilationOptions, BuildTargetPlatform, int, CompatibilityLevel, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>> const&, core::vector<core::basic_string<char, core::StringStorageDefault<char>>, core::allocator<core::basic_string<char, core::StringStorageDefault<char>>, 0ul>>&)

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.