I encountered a strange behavior that reminded me of when .sheet() modifiers didn't inherit environment objects. Unless I'm missing something very obvious, it seems to me that TableColumn may expose the same issue. At least on macOS, because the very same code does not crash on iOS.
I'm posting this here before reporting a SwiftUI bug.
Below is a gist for a playground:
I also observe inconsistent behavior when building with Xcode 16.1 or 15.4, specifically:
The workaround I resorted to is re-propagating the environment from the parent: