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
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.
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
- "Compiling CSMain: Internal error communicating with the shader compiler process." error when compiling a shader
- Single bit enum options become invisible in the Inspector when combined enum options are declared above them
- UI Builder background color picker alpha values are set to even numbers when saving alpha value as an odd number
- Objects are hard to read in the Hierarchy when using a high resolution display with a low display scale
- Animation triggers do not reset after playing animation
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a18