Search Issue Tracker
Fixed in 2017.2.0f3
Votes
0
Found in
2017.1.0f1
Issue ID
927910
Regression
Yes
Mesh is not rendered in target camera when using Graphics.DrawMeshInstanced with not null Camera argument
To reproduce:
1. Open project
2. Open 'Test' scene, select game view
3. Select 'DrawMesh' GameObject
4. In Inspector enable/ disable 'Render With Camera'
Reproducible: 2017.1.0f1, 2017.2.0b1, 2017.2.0b2
Not reproducible: 5.5.4p1, 5.6.2p1, 2017.1.0b8, 2017.1.0f3, 2017.2.0a2
Comments (1)
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
- A 404 page is opened when selecting "Open Documentation" on the Float Node in Shader Graph
- Shader Graph Importer's Documentation Reference button leads to a 404 page
- Crash on WriteParticleLineVertex when particle systems are rendered in a specific project
- Asset names longer than the allowed system file path are not handled gracefully
- Moving VFX Particles leave a ghosting trial in Ray Traced Screen Space Reflections
Dreadlifts
Jul 30, 2022 19:11
Graphics.DrawMeshInstanced (as well as DrawMesh and RenderMesh... but with less impact) with 'not null' camera frequently produced a large memory leak (6 to 30Gb in about 2 minutes) in playmode when focus not in Game window (eg. in Scene and Profiler windows), leading to rapid filling of memory that was not traceable with memory profiler. Fix was of course using null camera. Possibly due to commandbuffer being filled but not emptied in every frame not inside Game window?