Search Issue Tracker
Fixed
Fixed in 6000.3.0b2, 6000.4.0a1
Votes
0
Found in
6000.3.0a6
6000.4.0a1
Issue ID
UUM-114938
Regression
Yes
[MacOS] Crash when closing the Editor with unsaved VFX Graph changes
Steps to reproduce:
- Open the attached project
- Open the New VFX Asset
- Make changes to the graph to mark it as dirty
- Close the Editor
Actual results: Editor closes gracefully
Expected results: Editor crashes on close
Reproducible with versions: 6000.3.0a4, 6000.3.0a6
Not reproducible with versions: 6000.0.56f1, 6000.2.2f1, 6000.3.0a3
Reproducible with (OS): macOS 15.6
Not reproducible with (OS): Windows 11
Notes:
- Changes made to the VFG graph are saved despite the crash on exit
- Tested with other unsaved changes - Editor does not crash on close due to unsaved Scene changes
- With 6000.3.0a4, the crash is most consistent when steps are performed after clearing the Library. With 6000.3.0a5+, the crash occurs without a Library refresh and can be performed back-to-back
Crash Stack:
Obtained 80 stack frames.
#0 0x000001808af928 in objc_retain
#1 0x00000105e20900 in -[ContainerWindowDelegate windowDidBecomeKey:]
#2 0x00000180d8346c in {}CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER{}
#3 0x00000180e12b28 in ___CFXRegistrationPost_block_invoke
#4 0x00000180e12a6c in _CFXRegistrationPost
#5 0x00000180d528b8 in _CFXNotificationPost
#6 0x0000018230c680 in -[NSNotificationCenter postNotificationName:object:userInfo:]
#7 0x00000184dffa60 in -[NSWindow becomeKeyWindow]
#8 0x00000184da7494 in -[NSWindow _changeKeyAndMainLimitedOK:]
#9 0x000001857f0bdc in -[NSWindow _orderOut:calculatingKeyWithOptions:documentWindow:]
#10 0x00000184cf3000 in NSPerformVisuallyAtomicChange
#11 0x000001857f2430 in -[NSWindow _reallyDoOrderWindowOutRelativeTo:]
#12 0x000001857f2794 in -[NSWindow _reallyDoOrderWindow:]
#13 0x00000184cf3000 in NSPerformVisuallyAtomicChange
#14 0x000001857f2c54 in -[NSWindow _doOrderWindow:]
#15 0x00000105e10688 in -[ProgressbarController hideWindow]
#16 0x00000105e111b0 in -[ProgressbarNotificationHandler handleClearNotification:]
#17 0x00000180d8346c in {}CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER{}
#18 0x00000180e12b28 in ___CFXRegistrationPost_block_invoke
#19 0x00000180e12a6c in _CFXRegistrationPost
#20 0x00000180d528b8 in _CFXNotificationPost
#21 0x0000018230c680 in -[NSNotificationCenter postNotificationName:object:userInfo:]
#22 0x00000105e115f4 in ModalProgressBackendMac::Clear()
#23 0x00000104ef7668 in UpdateProgressBarState(bool, bool)
#24 0x00000104ef7bb4 in ProgressScope::PopScope(unsigned long)
#25 0x000001052875c0 in LegacyImportProgress::EndMeasuring()
#26 0x0000010520044c in StopAssetImportingV2Internal(AssetDatabase::UpdateAssetOptions, InternalRefreshFlagsV2, ScanFilter const, char const)
#27 0x0000010310acc4 in AssetDatabase_CUSTOM_StopAssetEditing()
#28 0x00000381db9688 in (wrapper managed-to-native) UnityEditor.AssetDatabase:StopAssetEditing () [\\{0x383a3df40} + 0x58] (0x381db9630 0x381db96dc) [0x13fd42a80 - Unity Child Domain]
#29 0x0000038209ccbc in UnityEditor.VFX.VisualEffectAssetModificationProcessor:OnWillSaveAssets (string[]) [\\{0x366eeb558} + 0x21c] [./Library/PackageCache/com.unity.visualeffectgraph@12318cd51fa3/Editor/Models/VFXGraph.cs :: 384u] (0x38209caa0 0x38209cd30) [0x13fd42a80 - Unity Child Domain]
#30 0x0000038209cf44 in (wrapper runtime-invoke) <Module>:runtime_invoke_object_object (object,intptr,intptr,intptr) [\\{0x366eeb6a0} + 0xd4] (0x38209ce70 0x38209cf84) [0x13fd42a80 - Unity Child Domain]
#31 0x0000014680f2a8 in mono_jit_runtime_invoke
#32 0x00000146994b18 in do_runtime_invoke
#33 0x000001469981d8 in mono_runtime_try_invoke_array
#34 0x0000014694325c in ves_icall_InternalInvoke
#35 0x00000146953cb0 in ves_icall_InternalInvoke_raw
#36 0x00000147ee8ca8 in (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo:InternalInvoke (System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) [\\{0x141873340} + 0x88] (0x147ee8c20 0x147ee8d40) [0x13fd42a80 - Unity Child Domain]
#37 0x00000147ee7b40 in System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [\\{0x1405bc0a0} + 0xe8] (0x147ee7a58 0x147ee7c40) [0x13fd42a80 - Unity Child Domain]
#38 0x00000147ee7a44 in System.Reflection.MethodBase:Invoke (object,object[]) [\\{0x1405a9e48} + 0x3c] (0x147ee7a08 0x147ee7a54) [0x13fd42a80 - Unity Child Domain]
#39 0x0000038209b020 in UnityEditor.AssetModificationProcessorInternal:OnWillSaveAssets (string[],string[]&,string[]&,bool) [\\{0x1380a6148} + 0x300] [/Users/bokken/build/output/unity/unity/Editor/Mono/AssetModificationProcessor.cs :: 166u] (0x38209ad20 0x38209b338) [0x13fd42a80 - Unity Child Domain]
#40 0x0000038209b7e8 in (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr&_intptr&_byte (object,intptr,intptr,intptr) [\\{0x384e20048} + 0x80] (0x38209b768 0x38209b894) [0x13fd42a80 - Unity Child Domain]
#41 0x0000014680f2a8 in mono_jit_runtime_invoke
#42 0x00000146994b18 in do_runtime_invoke
#43 0x00000146994a58 in mono_runtime_invoke
#44 0x00000103b3fd40 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr, bool)
#45 0x00000103b16638 in ScriptingInvocation::Invoke(ScriptingExceptionPtr, bool)
#46 0x0000010517a76c in AssetModificationCallbacks::ShouldSaveAssets(core::hash_set<UnityGUID, core::hash<UnityGUID>, std::{}1::equal_to<UnityGUID>> const&, core::hash_set<UnityGUID, core::hash<UnityGUID>, std::{}{}1::equal_to<UnityGUID>>&, core::hash_set<UnityGUID, core::hash<UnityGUID>, std::{_}_1::equal_to<UnityGUID>>&, bool)
#47 0x00000105169f8c in AssetDatabase::SaveAssets()
#48 0x00000104a27a3c in Application::CoreShutdown()
#49 0x00000104a31ce0 in Application::Terminate(bool)
#50 0x00000105dfce68 in -[EditorApplication applicationShouldTerminate:]
#51 0x00000184ec5a4c in -[NSApplication _docController:shouldTerminate:]
#52 0x00000184ec5830 in __91-[NSDocumentController(NSInternal) _closeAllDocumentsWithDelegate:shouldTerminateSelector:]_block_invoke
#53 0x00000184ec538c in -[NSDocumentController(NSInternal) _closeAllDocumentsWithDelegate:shouldTerminateSelector:]
#54 0x00000184ec4e90 in -[NSDocumentController(NSInternal) __closeAllDocumentsWithDelegate:shouldTerminateSelector:]
#55 0x00000184ec4a38 in -[NSApplication _shouldTerminate]
#56 0x00000184eb7e64 in -[NSApplication terminate:]
#57 0x00000105e202a4 in -[ContainerWindowDelegate windowShouldClose:]
#58 0x00000184f6df2c in __19-[NSWindow __close]_block_invoke
#59 0x00000184f6de68 in -[NSWindow __close]
#60 0x00000184e50fb0 in -[NSApplication(NSResponder) sendAction:to:from:]
#61 0x00000184e50d50 in -[NSControl sendAction:to:]
#62 0x00000184e50c94 in __26-[NSCell _sendActionFrom:]_block_invoke
#63 0x00000184e50bbc in -[NSCell _sendActionFrom:]
#64 0x00000184e50ab8 in -[NSButtonCell _sendActionFrom:]
#65 0x00000184e4e064 in NSControlTrackMouse
#66 0x00000184e4da64 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
#67 0x00000184e4d8dc in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]
#68 0x00000184e4cd88 in -[NSControl mouseDown:]
#69 0x00000184e4bbe4 in -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:]
#70 0x00000184dd7c54 in -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]
#71 0x00000184dd78a0 in -[NSWindow(NSEventRouting) sendEvent:]
#72 0x0000018564f6c0 in -[NSApplication(NSEventRouting) sendEvent:]
#73 0x00000105e0f294 in -[EditorApplicationPrincipalClass sendEvent:]
#74 0x0000018524e42c in -[NSApplication _handleEvent:]
#75 0x00000184ca4c0c in -[NSApplication run]
#76 0x00000184c7b2dc in NSApplicationMain
#77 0x00000105e0fb24 in EditorMain(int, char const**)
#78 0x00000105e0fe0c in main
#79 0x00000180902b98 in start
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Baking ReferencedPrefabAuthoring!” errors are thrown when creating or deleting unrelated GameObjects in a SubScene that references prefabs
- Cannot scroll down to see all UI Builder Inspector items after content is resized
- Crash on SceneTracker::SetObjectDirty when entering Play mode on a project with specific Assets
- UI Toolkit's TextInput element does not inherit layout parameters from the TextField element when TextField.multiline is true
- The TileMap grid in the Tile Palette is not visible when Screen Space Ambient Occlusion is enabled
Add comment