Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
1.0.0
Issue ID
1369692
Regression
Yes
WorldToCell returns offset Y position when in Editor Playmode compared to build
How to reproduce:
1. Open the user attached project (Advent.zip)
2. Enter Playmode
3. Observe the red selection indicator's location relative to the mouse cursor
4. Leave Playmode and press Ctrl+Shift+B to open the build settings window
5. Build and run the game
6. Again observe the red selection indicator's location relative to the mouse cursor in the build
Expected result: there is no change in the indicators location between the build an Playmode with the red indicator being centered on the dot in the middle of the selected square
Actual result: the red indicator is offset vertically by half of a square only in the Playmode while being correctly positioned in the build
Reproducible with: 2021.1.28f1, 2021.2.1f1, 2022.1.0a13
Couldn't test with: 2019.4.32f1, 2020.3.22f1 (Can't enter Playmode due to compilation errors)
Note: Reproducible on Ubuntu 20.04 and Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Vulkan] Crash on /system/lib/libandroid.so (ANativeWindow_setBuffersGeometry+4) when the Vulkan Graphics API is used
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- An added component is being removed form the prefab when reimporting the prefab
Add comment