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)
Comments (1)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.