Search Issue Tracker
By Design
Votes
0
Found in
2017.4.5f1
Issue ID
1052668
Regression
Yes
Using Graphics.CopyTexture shows only grey color
To reproduce:
1. Open users attached project "CopyTexture.zip"
2. Open "Test.unity" scene
3. Enter Play mode
4. Observe a grey rectangle on the left
Expected result: textures are shown (5.6.png)
Actual result: the grey rectangle is shown (2017andup.png)
Reproduced on:
2017.1.5f1 2017.4.13f1 2018.2.13f1 2018.3.0b7 2019.1.0a5
Not reproduced on:
5.6.5p4
Notes:
Reproduced with Metal and OpenGLCore
Scripting Runtime Version .NET 3.5 and .NET 4.x
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Texture2D.Apply() is not needed for CopyTexture(), explained in documentation: https://docs.unity3d.com/ScriptReference/Graphics.CopyTexture.html