Search Issue Tracker

In Progress

In Progress in 2021.3.X

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X

Fix In Review for 6000.2.0a3

Votes

15

Found in

2021.3.34f1

2022.3.57f1

6000.0.36f1

6000.1.0b4

6000.2.0a3

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

Comments (3)

  1. muzboz

    Jan 31, 2025 02:04

    For anyone following along, I was notified by Unity that there is a fix submitted for this, and should be in an upcoming release. Fingers crossed they have fixed this issue. If so, I'll be a very happy man! :) This was the status report I was sent through the other system:

    - - - - -
    FROM: Unity Bug Reporting Portal (2025-01-30th)

    A fix for your bug report IN-66152: Terrain Detail objects are not rendered in the build when the Terrain is generated at runtime has been submitted with the following status:

    "Fixed and currently awaits internal confirmation."
    Fix Version/s: 6000.2.0a3
    - - - - -

  2. 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.

  3. 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

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.