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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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