Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
1
Found in
2021.3.18f1
2022.2.6f1
2023.1.0b3
2023.2.0a1
Issue ID
UUM-26445
Regression
No
Silent crash when GameObjects collide when transform.SetParent is used
Reproduction steps:
1. Open the attached project “TestCrash”
2. Enter the Play mode
3. Press the Arrow key up to descent until rocket collides with another GameObject or reaches the ground
Expected result: Play mode continues
Actual result: Editor crashes
Reproducible with: 2021.3.18f1, 2022.2.6f1, 2023.1.0b3, 2023.2.0a1
Reproducible on: MacOS Ventura 13.1 (M1 Max), MacOS Ventura 13.1 (Intel)
Not reproducible on: Windows 10
Could not test with: 2020.3.44f1 (Console errors: Assets/Scripts/Controllers/Spacecraft Modules/StaticLeg.cs(7,13): error CS0246: The type or namespace name 'Light2D' could not be found (are you missing a using directive or an assembly reference?))
Note: With some Editor versions “meteors” cause the crash, with others you need to reach the “ground”
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Nothing happens when entering a converter ID to target property in the Add Binding window when a converter ID was already added and removed
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- [Linux] Numeric field value stops increasing when cursor reaches the edge of the monitor while dragging
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
Resolution Note:
In your project we see that your method 'public void OnSpacecraftTriggerEnter(Collider2D collider2D)' is causing a Stack Overflow due to recursive calling. To fix the problem please modify the code to avoid calling the same method repeatedly.
We are planning a larger effort to improve StackOverflowException handling. It is quite hard to handle and recover in a robust way. We are aware of the situation but we will not be fixing this bug right now.
Resolution Note (2023.2.X):
In your project we see that your method 'public void OnSpacecraftTriggerEnter(Collider2D collider2D)' is causing a Stack Overflow due to recursive calling. To fix the problem please modify the code to avoid calling the same method repeatedly.
We are planning a larger effort to improve StackOverflowException handling. It is quite hard to handle and recover in a robust way. We are aware of the situation but we will not be fixing this bug right now.