AttributeGraph precondition failure with contextMenu

Use of contextMenu randomly causes the following crash/error:

CoreSimulator 732.13 - Device: iPhone 11 Pro Max (7932F9B5-D9B7-4365-B442-78A1D7718034) - Runtime: iOS 14.0 (18A5357e) - DeviceType: iPhone 11 Pro Max


AttributeGraph precondition failure: setting value during update: 4216072.



Use of contextMenu randomly causes the following crash/error:

Do you just want to share your bug info with readers? Or want to solve your issue in cooperation with readers?

You should include what you want in your post, with enough info, especially your code, please.
Similar problem here:

Using @SceneStorage to storage filtering state, sometimes the app crashed when changing the SceneStorage value.

@SceneStorage("filtering-string", defaultValue: "")
var filteringString: String

This variable is used in two views, one for input and one to use it to show a list.

Error message: AttributeGraph precondition failure: setting value during update
AttributeGraph precondition failure with contextMenu
 
 
Q