Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a1
2018.3.0b10
2019.1.0a1
2019.2.0a1
Issue ID
1105537
Regression
No
Incorrect position using <Position> instead of <Transform> when changing Camera projection
Steps to reproduce:
1. Open original project "TurnBasedBattle.zip"
2. Open "TurnedBasedBattle" scene
3. Press "Play"
4. Press load field in the Game view
5. Observe green spinning Sprite
6. Now change camera projection from "Orthographic" to "Perspective"
Expected result: Green sprite gets positioned in the same spot
Actual result: Green sprite gets positioned in the wrong position
Reproducible in: 2018.3.5f1, 2019.1.0b2, 2019.2.0a4
Note:
1. Positioning script is "TLTBattlePositionUpdatingSystem.cs".
2. If you change the script that it uses <Transform> to update position instead of <Position> sprite updates position as expected.
3. Could not test on 2017.4, because project throws errors.
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
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
Resolution Note:
Transform is a game object component. Position refers to an entity. Position is in local space. Position is also deprecated (now: Translation). See: https://docs.unity3d.com/Packages/com.unity.entities@0.0/manual/transform_system.html