Hello.
I have a problem, when exporting .apk file and testing it out, my screen looks bugged out.
On Samsung S3 I9300 5.1.1 works fine
But on Samsung Galaxy Grand Prime G531F 5.1.1 has this bugged screen, sound works fine, but the screen is messed up!
I have received similar reviews for my app.
Also user with Samsung Galaxy Grand Prime reported that screen looks like broken old TV.
Has anyone solution to this?
Just did. The original code was for 3D and i'm trying to flip 2D
Change: GameObject.Instantiate(bullet, transform.position, Quaternion.LookRotation(targetPosition - transform.position)); to: GameObject.Instantiate(bullet, transform.position, Quaternion.Euler(0f,90f,rotz)); where rotz is as you defined it before you edited your post and removed it. I believe you had: Vector3 diff=targetPosition-transform.position; float rotz=Mathf.Atan2(diff.y,diff.x)*Mathf.Rad2Deg;
same problem here. @fermmmm have you found a workaround ?
Devices: Samsung Galaxy Core Prime , Galaxy Grand Prime, Samsung Galaxy XCover3
Unity: 5.1.2f1
Ok that definitely improved the sprite rotation; but now it's the Update function that is wrong somehow transform.forward is Vector.Zero ... I've tried to calculate Direction from the transform.rotation.z : float angle = m_Transform.rotation.z; Debug.Log("angle: " + angle); direction = new Vector2((float)Mathf.Cos(angle), -(float)Mathf.Sin(angle)); m_Rigidbody.MovePosition( (Vector2) m_Rigidbody.position + speed * (Vector2) direction * Time.deltaTime); But again messed up :(
It is a shame for a framework to not work on some devices. We, the users of that framework cannot do anything to make our apps work on those devices, only wait for Unity to fix it, while receiving we (instead of Unity) the negative feedback from our users.
Possible workaround: http://answers.unity3d.com/answers/1119805/view.html
– alvarog