Search Issue Tracker

Fixed

Votes

0

Found in

5.2.2f1

Issue ID

740620

Regression

Yes

[iOS] Rendertexture does not display specified materials on iOS

iOS

-

How to reproduce:

1. Open attached project
2. Open scene MainScene.unity
3. Build to iOS and run
4. Once the project is built, select a player ball at the bottom and drag it into the field
5. Click the "Change Jersey" button
- Note how the circles change to a blank square texture, if they weren't already such from the start
- The players in the scroll rect use a sprite that is created from a Texture2D. This texture was rendered by PlayerPreviewCamera (2dViewContainer/2dView/PlayerPreviewCamera), which renders only the PlayerPreviewModel (2dViewContainer/2dView/PlayerPreviewModel).
- The texture is rendered in the script GameObjectManager, method UpdatePlayerPreview, line 1248. In line 1352, the sprite is created and the players in the scroll simply access it in PlayerPreviewItem, method SetPreviewItem, line 26.
- Reproduced in Version 5.2.2f1 (69bd29e9fca9) on an iPhone5 (iOS8)
- Not reproducible ONLY in 5.0.2f1

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.