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
- Custom ScriptableObject asset in the project setting are not well deserialized during the Reimport All process
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
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