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
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
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.