Search Issue Tracker
By Design
Votes
1
Found in
2021.3.46f1
2022.3.53f1
6000.0.27f1
6000.1.0a5
6000.2.0a1
6000.3.0a1
Issue ID
UUM-87665
Regression
No
Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Reproduction steps:
1. Open the attached “DrawMeshNow_Player_Bug.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. Observe the Game view
5. Exit the Play more
6. Build and Run the project (File > Build and Run)
7. Observe the Player
Expected result: Game view matches the Player, Render Texture pattern is visible on both Quads
Actual result: In the Player the Render Texture pattern is visible only for a few seconds and only on one of the Quads
Reproducible with: 2021.3.46f1, 2022.3.53f1, 6000.0.27f1, 6000.1.0a5
Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: No other environment tested
Notes:
- Reporter noted that it works as expected in 2022.3 version and reproduces in 6000.0 on Linux, but while testing was not able to get the expected result on 2022.3 version
- GL.Clear appears to be working since the texture changes color from black to white, but the two colored rectangles rendered with DrawMeshNow do not appear
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Upon investigation, the issue stemmed from the transform not being initialized in the pass used by the project. This problem can be resolved by initializing the transform when the pass starts.