Search Issue Tracker
Active
Votes
1
Found in [Package]
2.0.0-pre.2
Issue ID
1424745
Regression
No
Editor freezes or crashes when undoing actions made with "Edit Splines" to Sprite Shape Controller Component
How to reproduce:
1. Open project "BugSpriteShapeUndoFromPrefab.zip"
2. In the Hierarchy window select "Closed Sprite Shape (2)" GameObject
3. Press the "Edit Spline" Button in the Sprite Shape Controller Component
4. Make changes to the Spline in the Scene view
5. Press ⌘ + Z or Ctrl + Z and observe the Editor
Expected result: No crash
Actual result: Crash
Reproducible with: 1.0.0-pre.8 (2021.2.18f1, 2021.3.3f1), 2.0.0-pre.2 (2022.1.2f1, 2022.2.0a15)
Could not test with: 2019.4.39f1, 2020.3.35f1 (Errors after project downgrade)
Reproduced on: macOS 11.6 (Intel)
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
- [URP][XR] Spotlight shadows flicker when Deffered Rendering Path is selected and rotating the HDM view in XR
- Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
- Pitch changes while paused messes up scheduling of the audio random container
- Crash on detail::ComputeShaderSnippetKey when entering the Play mode
- Unable to interact with Material Inspector window when creating a new Material and renaming it
arielsan
Jun 01, 2022 20:26
After more tests, it seems to be a problem with previously serialized data that is not being automatically removed from the prefab. If we create a new shape and copy and paste nodes from the old one, the second shape works without any performance issues. We believe that could be related with the mesh itself. We tried applying the new shape to the prefab and its disk size was reduced significantly (and we even saw lots of diff changes), that is why we think it is related with serialization.