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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Texture2D.Apply() is not needed for CopyTexture(), explained in documentation: https://docs.unity3d.com/ScriptReference/Graphics.CopyTexture.html