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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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