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.
-
Barnet19
Apr 11, 2022 09:57
Thank you for the help. Hope many would benefit from your tips!
barnettreesurgeons.co.uk
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
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
- Builds fail without a useful error message when building a project with invalid product name
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a18