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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Texture2D.Apply() is not needed for CopyTexture(), explained in documentation: https://docs.unity3d.com/ScriptReference/Graphics.CopyTexture.html