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
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
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
Add comment