Search Issue Tracker
Fixed
Votes
0
Found in
6000.0.56f1
Issue ID
UUM-114916
Regression
Yes
[MacEditor] Crash on [endModalSession] in PlayMode with 'Stop playing and recompile' setting after saving scripts in IDE
How to reproduce:
1. Open the attached “CrashRepro_IN-108503“ project
2. Change "Script changes while player" Editor setting to "Stop playing and recompile"
3. Enter Play Mode
4. Open the “MyMonoBehaviourScript“ Script
5. Edit the Script and Save changes
6. Select the Unity window by clicking on it
Reproducible with: 6000.0.50f1, 6000.0.56f1, 6000.1.5f1, 6000.1.16f1
Not reproducible with: 6000.0.49f1, 6000.1.4f1, 6000.2.1f1, 6000.3.0a5
Reproducible on: macOS 15.6 Sequoia (Intel)
Not reproducible on: No other environment tested
Notes:
- The issue does not reproduce if, instead of clicking the Unity window, Alt-Tab is used or the window is selected by selecting the Unity window via the Task Bar
- Reproducible with Rider, VS Code, and Visual Studio
- Has a chance not to reproduce the first time
IMPORTANT:
The Editor setting must be changed; the bug doesn't repro if left on the default "Recompile and continue playing".
First few lines of the stack trace:
#0 0x007ff81d94a5e3 in -[NSApplication endModalSession:]
#1 0x00000107aca8bc in -[ProgressbarController hideWindow]
#2 0x00000107acb6a7 in -[ProgressbarNotificationHandler handleClearNotification:]
#3 0x007ff81abff68c in CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER
#4 0x007ff81ac9caa2 in ___CFXRegistrationPost_block_invoke
#5 0x007ff81ac9ca20 in _CFXRegistrationPost
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-109764