HI
I'm trying to create a custom GameViewportClient. I can get one to work fine in PIE/PC & the mobile previewer without any warnings/errors. However, when I run the app on a device it just crashes immediately after playing the UDK movie.
I've stripped my code down to it's simplest form to try and narrow down the problem - the following code just draws a semi-transparent square in the top left corner of the screen after everything has been rendered.
& in DefaultEngine.ini
Commenting out the ini file setting uses the normal GameViewportClient & my app runs fine.
Any ideas what's going on?
Cheers
William
I'm trying to create a custom GameViewportClient. I can get one to work fine in PIE/PC & the mobile previewer without any warnings/errors. However, when I run the app on a device it just crashes immediately after playing the UDK movie.
I've stripped my code down to it's simplest form to try and narrow down the problem - the following code just draws a semi-transparent square in the top left corner of the screen after everything has been rendered.
Code:
class Test_ViewportClient extends GameViewportClient; event PostRender(Canvas Canvas) { super.PostRender(Canvas); Canvas.SetDrawColor(0, 128, 0, 128); Canvas.SetPos(0,0); Canvas.DrawRect(Canvas.SizeX/2.0,Canvas.SizeY/2.0); } DefaultProperties { }
Code:
[Engine.Engine] GameViewportClientClassName=Project1.Test_ViewportClient
Any ideas what's going on?
Cheers
William
Comment