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
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
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.