Search Issue Tracker

Duplicate

Votes

0

Found in

2017.1.0b3

Issue ID

907652

Regression

Yes

[iOS] Crash on '[NSApplication endModalSession:]' when building for iOS using 'Build and Run' with Post-Processing Stack

Mobile

-

Reproduction steps:
1. Open the attached project.
2. Go to File > Build & Run
3. Editor crashes when finishing the build:

#0 0x007fffb7c24022 in -[NSApplication endModalSession:]
#1 0x000001021ba46c in -[GlobalProgressbarController setProgressbar:andText:andTitle:canCancel:]
#2 0x000001021bae6b in DisplayProgressbar(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, float, bool)
#3 0x00000101d898af in EditorUtility_CUSTOM_DisplayCancelableProgressBar(MonoString*, MonoString*, float)
#4 0x0000011f498481 in (wrapper managed-to-native) UnityEditor.EditorUtility:DisplayCancelableProgressBar (string,string,single) + 0xb1 (0x11f4983d0 0x11f4984b4) [0x1296dd000 - Unity Child Domain]
#5 0x0000011beebe91 in UnityEditor.PostprocessBuildPlayer:<Launch>m__0 (string,string,single) + 0x91 (0x11beebe00 0x11beebf11) [0x1296dd000 - Unity Child Domain]

Reproduced with:
2017.1.0b2, 2017.1.0b5

Not reproducible with:
2017.1.0a5

Regression introduced in:
2017.1.0b1 or 2017.1.0b2

Notes:
- Builds successfully with Build button.
- Full stack attached in the edit.
- Project doesn't build on 2017.1.0b1 with error:
- May be related to 907145.

UnityEditor.BuildPlayerWindow+BuildMethodException: Build location for buildTarget iOSis not valid.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.GetBuildPlayerOptions (BuildPlayerOptions defaultBuildPlayerOptions) [0x00269] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:242
at UnityEditor.BuildPlayerWindow.CallBuildMethods (BuildOptions defaultBuildOptions) [0x0002e] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:78
UnityEditor.HostView:OnGUI()

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.