Search Issue Tracker

Fixed in 1.1.0

Votes

0

Found in [Package]

1.0.2

Issue ID

1314295

Regression

No

Crash when Polybrush Scatter Mesh radius values are set to minimum while painting with a flat Falloff Curve

Package: Polybrush

-

How to reproduce
1. Open the attached project
2. Open the PolyBrush window
3. Select the Scatter Prefabs on meshes Tool and add Grass 1 as the prefab to paint
4. Set the Outer Radius and Inner Radius to the minimum values
5. Set the Falloff curve to flat
6. Paint the Prefabs on the mesh in the Scene

Expected result: Grass 1 prefab is scattered on the mesh
Actual result: Editor freezes on the SceneView.OnGui.mouseDown progress bar

Reproducible with: 1.0.0, 1.0.2(2019.4.18f1, 2020.2.4f, 2021.1.0b7)

  1. Resolution Note (fix version 1.1.0):

    Fixed in PolyBrush 1.1.0 which will be included in the 2020.3 release and above
    PR - https://github.com/Unity-Technologies/polybrush/pull/158

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.