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

Package: Splines

-

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

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.