Search Issue Tracker

Fixed in 5.0.0-pre.12

Votes

0

Found in [Package]

4.4.0

Issue ID

1312537

Regression

No

[ProBuilder] Script Stripping does not remove all components from Shapes

Package: Probuilder

-

How to reproduce:
1. Create a new Project
2. Import ProBuilder
3. Create a new Shape and select it in Hierarchy
4. Click Tools -> Probuilder -> Actions -> Strip ProBuilder Scripts in Selection
5. Observe the Inspector window and the Mesh in the Scene window

Expected results: All ProBuilder components and scripts are removed and the Shape
Actual results: Only some of the ProBuilder components are removed. Sometimes the Mesh renderer is removed as well and Null ref errors are thrown

Reproducible with: 4.4.0, 4.5.0(2018.4.32f1, 2019.4.21f1), 5.0.0-pre.7, 5.0.0-pre.10(2019.4.21f1, 2020.2.6f1, 2021.1.b9, 2020.2.0a7)

Notes:
1. This can be experienced both in the Editor and in the Build. To reproduce the issue in a build, use the attached project to create a development build and run it. A message will be thrown indicating that not everything was stripped(In this case, the mesh is not stripped from disabled objects).

  1. Resolution Note (fix version 5.0.0-pre.12):

    Fixed in ProBuilder 5.0.0-pre.12 which will be included in the 2021.1 release
    PR - https://github.com/Unity-Technologies/com.unity.probuilder/pull/368

Comments (1)

  1. iwanPlays

    Apr 02, 2023 20:58

    This seems to have been reintroduced

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.