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
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
- m_Modifications block serializes incorrectly when replacing source prefabs
Resolution Note:
Texture2D.Apply() is not needed for CopyTexture(), explained in documentation: https://docs.unity3d.com/ScriptReference/Graphics.CopyTexture.html