Search Issue Tracker

By Design

Votes

0

Found in

2019.4

2020.3

2020.3.27f1

2021.2

2022.1

2022.2

Issue ID

1404097

Regression

No

Modifying any file in the Assets folder breaks DrawMeshInstancedIndirect rendering

Asset - Database

-

Reproduction steps:
1. Open user-submitted project
2. Open scene Level 1 in the Scenes folder
3. Enter Play Mode
4. Open Assets/some_text_file.txt in any text editor
5. Make a Change to some_text_file.txt and save the file
6. Switch back to Unity
7. Refresh some_text_file.txt by right-clicking the file and pressing refresh

Expected result: Scene is rendered as before
Actual result: An empty scene is rendered

Reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.13f1, 2022.1.0b9, 2022.2.0a5

Note:
For 2022.1 and 2022.2 streams use the 'StandaloneConveyor_Trunk.zip' project instead

  1. Resolution Note (2022.2.X):

    Material.SetBuffer(...) is not persistent, so when a reload happens, the effect of SetBuffer is gone.
    A potential workaround is to call SetBuffer in each update, it is a relatively cheap operation.

Add comment

Log in to post comment