Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.1.X, 2017.2.X

Votes

0

Found in

2017.1.0f3

Issue ID

944413

Regression

No

Editor crashes at prcore::BlitImageRemapNoScale when creating sprite with texture's format set to R8, RG16, RGB9e5Float, YUY2

Graphics - General

-

Steps to reproduce:
1. Download 944413_repro.zip
2. Open "test" scene
3. Enter play mode

Results: Editor crashes when creating sprite from texture which's format is R8, RG16, RGB9e5Float or YUY2

Code snippet:
Texture2D tex = new Texture2D(32, 32, TextureFormat.R8, false);
image.sprite = Sprite.Create(tex, new Rect(0f, 0f, 32f, 32f), new Vector2(0f, 0f));

Reproduced with: 2017.3.0a5, 2017.2.0b8, 2017.1.0p5, 5.6.3p1, 5.5.4p3, 5.5.0b5

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.