Search Issue Tracker
Fixed
Votes
8
Found in
5.0.1f1
Issue ID
695600
Regression
No
Camera.targetTexture -> RenderTexture -> UI.rawImage works only in editor
-e: There is a RenderTexture which is placed at the Camera's Target Texture slot. The Panel includes a RawImage Component for the RenderTexture.
If I run this test in the editor, it behaves as expected:
The Panel showing the camera view is rendered on the screen.
As soon as I build and run it, the game will not show any content. Depending on the platform the following happens:
Editor - OK
Standalone Build - nothing get's rendered after splash screen
Android Build - freezes in "Powered by unity" splash screen
Web Player - black screen
WebGL - freezes in loading screen
-repro:
--open test scene from attached project
--run in editor and see the panel with the camera view
--build standalone and run
--NOTICE it getting stuck after the splash screen
Comments (7)
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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Viselka
Sep 08, 2016 10:18
I render camera to the render texture. this texture is used as texture in UI for RawImage.
Everything works ok in editor, under android is it crash after few seconds...
Joe Censored
Apr 06, 2016 07:01
What build is this fixed in?
kyoungmin kim
Feb 22, 2016 00:15
Also iOS, Xcode build and run is crash.
jmorhart
Nov 04, 2015 23:51
Same problem, but I managed to find a workaround. The scene just needs a full screen camera in it. You can set the camera's culling mask to Nothing so that it doesn't render anything, there just needs to be a full screen camera in the scene.
shashikalsha
Oct 15, 2015 07:02
Same problem, not sure how to handle it...
Troglodit
Oct 05, 2015 09:00
the same problem
sirudduck
Sep 29, 2015 01:43
Exactly Same problem.....T.T