Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
2.4.X
Issue ID
SPLB-211
Regression
No
Duplicating a GameObject with a Spline Extrude component does not create a new extruded mesh asset
Steps to reproduce:
# Draw a spline GameObject>Spline>Draw Splines Tool...
# Add a Spline Extrude component to the same spline object
# Duplicate the spline game object from step 1
# Change its shape so that it would be clearly different than spline 1
# Observe the inspector/scene view - the Mesh Renderer for the duplicated spline references the same mesh
Expected result: a new mesh is created and assigned
Actual result: the same mesh remains attached to the duplicated Mesh Renderer with Spline Extrude
Note: this behaviour appears incorrect/unintuitive because re-adding the Spline Extrude component always creates a new mesh. It would seem logical to also do that for duplicated objects.
Reproducible with: 2021.3.31f1, 2022.3.12f1, 2023.2.0b15, 2023.3.0a12
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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Resolution Note:
Fixed in 2.5.1 release of the Splines package
Duplicate of another internal issue: SPLB-183: [Splines] Copy-paste of a GameObject SplineExtrude keeps the mesh reference