Search Issue Tracker
In Progress
In Progress in 2021.3.X
Votes
15
Found in
2021.3.34f1
Issue ID
UUM-62407
Regression
No
Terrain Detail objects are not rendered in the build when the Terrain is generated at runtime
Reproduction steps:
1. Open the attached “Terrain.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. Observe the Game View
5. Exit Play mode
6. Build and Run the Project (File > Build and Run)
7. Observe the Build result
Expected result: Build looks the same as in the Play mode, all Detail objects are being rendered and move with the terrainData.wavingGrassAmount function
Actual result: Detail objects are not moving with the terrainData.wavingGrassAmount function and Grass Billboards are not rendered
Reproducible with: 2021.3.34f1
Couldn't test with: 2022.3.19f1, 2023.2.8f1, 2023.3.0b5 (Detail objects did not load in the Play mode)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
runevision
Mar 28, 2024 12:11
I have this issue too. See details and workaround in this thread:
https://forum.unity.com/threads/terrain-grass-details-for-generated-terrain-broke-in-builds-every-workaround-tried.1565392/
Why is this issue listed as not a regression? It very much is a regression as it worked fine (in both play mode and build) in previous versions such as Unity 2019.4.
muzboz
Feb 07, 2024 05:14
Thanks a lot for looking into this issue.
Would love to hear about an update as soon as you explore the issue further.
The issue (introduced from 2021.2 onwards) means that Unity engine no longer supports my game I'm building, which I've been working on for year.
So until it's fixed, I'm stuck in older versions of Unity, which will soon pass beyond the support date.
Hope this bug report and provided projects helps you to fairly easily find and fix the issue.
All the best, thanks!
- Murray