Search Issue Tracker
By Design
Votes
1
Found in [Package]
12.0.0
Issue ID
1321227
Regression
No
[ShaderGraph] Multiple Sprites are drawn with world position UVs when the local position is passed into the Sample Texture 2D
How to reproduce:
1. Open the user's attached "test.zip" project
2. Open the "scene" Scene
3. Observe the "Sprite" GameObject in the Scene view
4. Enable the "Enable Me" GameObject in the Hierarchy window
5. Observe the "Sprite" GameObject in the Scene view
Expected result: Both "Enable Me" and "Sprite" GameObjects are drawn the same
Actual result: "Sprite" GameObject is drawn with world position UV
Reproducible with: 7.5.3 (2019.4.22f1), 10.4.0 (2020.3.1f1), 11.0.0 (2021.1.0b12), 12.0.0 (2021.2.0a9)
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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Resolution Note:
Using object position may not give consistent results with sprites. This is because when the sprites are batched they are combined into a single mesh. A given sprite mesh will be relative to the origin of the combined mesh.