Size seems to be respected for sprite renderers on startup, but thereafter any attempt to change the size of a SpriteRenderer does not work.
To recreate the issue, create a sprite. Set the size to some custom value.
In script, reassign the .size attribute of the SpriteRenderer, and observe no change.
unity complains: “SpriteRenderer does not contain a definition for MarkDirty and no accessible extension method MarkDirty accepting a first arg of SpriteRenderer could be found.”
using default unity sprite, but I did realize my polyspatial was out of date. I’m in the process of updating now, but I’ll try again and see if the update fixes it. probably just an old bug. I was on 1.0.6
thanks so much! upgrading my polyspatial and visionOS packages did the trick for resizing spriteRenderers. I checked for updates in packagemanager, so I didn’t see that there were updates. Removing and re-adding solved the issue.