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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
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.