Reproduction steps:
- Open the attached project
- Open the “/Assets/DemonSaw/DS1.unity” Scene
Expected result: “StackOverflowException: The requested operation caused a stack overflow.” Error is thrown in the Console
Actual result: Unity Editor crashes
Reproducible with: 2021.3.13f1, 2022.1.22f1, 2022.2.0b14, 2023.1.0a18
Couldn’t test with: 2020.3.40f1 (Apple Silicon Editor is not available)
Reproducible on: M1 MacOS 12.4 (21F79)
Not reproducible on: Windows 10 (21H2)
Notes:
- The issue is only reproducible on Apple Silicon Editors on M1 MacOS
- The stack in Xcode doesn’t match the stack report
- There’s no stack trace in the Editor.log
- The crash is caused by lines 126-140 in the PublishedValue.cs Script