Reproduction steps:
1. Open the attached “repro_IN-75465“ project
2. Open the “Assets/Scenes/SampleScene.unity“
3. In the Hierarchy, select the “Spline“ GameObject
4. In the Scene view’s toolbar, select the top-located tool for spline editing
5. Click on any of the spline’s edit points
6. In the “Element Inspector“, change from “Bezier“ to “Auto“
Expected result: The selection in the “Element Inspector“ changes from “Bezier“ to “Auto“ without any errors
Actual result: The selection in the “Element Inspector“ changes from “Bezier“ to “Auto“ but “StackOverflowException: The requested operation caused a stack overflow.“ error is thrown
Reproducible with: 2022.3.27f1, 2022.3.30f1, 6000.0.3f1
Not reproducible with: 2021.3.38f1, 2022.3.26f1
Reproducible on: Windows 10 (22H2), macOS Sonoma 14.4.1
Not reproducible on: No other environments tested
Note:
- Reproducible on 2.6.0 version of “Splines” package
- After the error is thrown, the Editor becomes unresponsive (buttons can be highlighted but can’t be pressed)
- On macOS, a silent crash happens, but the Editor.log shows the same “StackOverflowException“ error