Search Issue Tracker

Fixed in 2021.1.X

Votes

0

Found in

2019.3.0b1

2020.1.16f1

2020.2

2021.1

Issue ID

1301678

Regression

Yes

Crash after "Assertion failed on expression: 'bakedLightChannel < 4'" when entering Play Mode after editing Terrain Trees

Terrain

-

Reproduction steps:
1. Open the user's attached project
2. Open scene "SampleScene"
3. In the Hierarchy, select "World" > "Terrain" and open the Tree editing tab
4. Select a Tree, edit the Terrain
5. Quickly enter Play Mode
6. Repeat steps 4-5 a few times
-- observe crash (reproduces around 1/7 times)

Reproducible with: 2019.3.0b1, 2019.4.17f1, 2020.2.1f1, 2021.1.0b1
Not reproducible with: 2018.4.30f1, 2019.3.0a12

Note: in 2019.4, the original Terrain gets corrupted because it was created with a newer version of Unity, but the crash can still be reproduced with a new Terrain, using "tree_1" for trees.

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.2.0a18

Comments (1)

  1. Barnet19

    Apr 11, 2022 09:57

    Thank you for the help. Hope many would benefit from your tips!
    barnettreesurgeons.co.uk

Add comment

Log in to post comment