How to reproduce:
1. Open the user attached project
2. Open the "SampleScene" scene
3. Select the "Example" GameObject
4. Press the "Copy" button that is in the Inspector
Reproducible with: 2019.4.0f1, 2019.4.39f1, 2020.3.34f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11
First lines of stack trace:
0x00007FF82C314F69 (KERNELBASE) RaiseException
0x00007FF6562DB7FF (Unity) LaunchBugReporter
0x00007FF655D13352 (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF655D141FC (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF656CFD527 (Unity) DebugStringToFilePostprocessedStacktrace
0x00007FF656CFCA88 (Unity) DebugStringToFile
0x00007FF6551C14DC (Unity) CachedReader::OutOfBoundsError
0x00007FF6551C2364 (Unity) CachedReader::UpdateReadCache