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
- GC Allocation of 384 B every frame when using CinemachineInputAxisController
- Profiler search results are delayed when any search result is selected, and another frame is viewed
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
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