4.6 Material Simple drawing wrong position on Mobile Device
Environment: UE 4.6.0, Developing on Mac for mobile, Blueprints
Using "Draw Material Simple" node in blueprint on HUD draws correctly for Mobile Preview. When viewing on mobile device (iPhone 5S tested), it appears to make the 0 position of the Y coordinate at the bottom of the screen.
Note the ScreenX and ScreenY variables were set from the Size X and Size Y of the Event On Draw HUD.
Note...Mobile Preview is good. Mobile Device is not. Using the same math (see in blueprint), it draws a Text, "Shields" in the correct position on device. Also, textures appear to draw in correct position. I have only found bug with Draw Material Simple (using the M_HUD_HEALTH_BAR material from the Example Contents)
Health Bar and Text (Shields) should both be at the bottom of the screen: Size Y - 25.
Please see screenshots: Blueprint
Thank you again for sharing a test project with me via the forums. I have tested out this project and have been able to see the error that you have been talking about. I have also tested this issue out on a newer promoted internal build and the issue is no longer occurring. I am unsure as to when this fix will be implemented into a release build but the issue is no longer occurring. I will be sure to revisit this thread when i know more information.
Thanks and have a great day!
answered Dec 23 '14 at 10:29 PM
[Epic] Gribbs ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here