Facing an annoying problem with unity, googled to no avail. Basically I was having tilemap tearing so I created a sprite default material with pixel snap on. This fixed the tearing when running the game, but caused massive tearing in just my scene view. This does not affect gameplay but is very annoying when trying to create backgrounds and stuff.

Pic of scene view: https://media.discordapp.net/attachments/810052982220652577/836562483883016192/tilemaptearing.PNG

My problem is identical to the one asked in this thread here but the solution this person came up with was to not use pixel snapping, but I need that to prevent tearing in the actual game. Anyone know what could be causing this and how could I fix?

Edit: Current version 2019.5.0a5, currently updating to most recent version

  • \$\begingroup\$ What version of Unity are you using? \$\endgroup\$
    – Kevin
    Apr 27 at 17:41
  • \$\begingroup\$ I am using 2019.3.0a5 \$\endgroup\$ Apr 27 at 17:43
  • \$\begingroup\$ Why are you using an alpha release from almost 2 years ago? You should upgrade to the latest version of Unity 2019.4 LTS. These tilemap issues are likely to be bugs that were fixed in newer versions of Unity. \$\endgroup\$
    – Kevin
    Apr 27 at 17:48
  • \$\begingroup\$ Alright, I'm updating now. Is there a reason I should update to 2019.4 LTS instead of the latest version 2020.3.5f1? \$\endgroup\$ Apr 27 at 17:50
  • \$\begingroup\$ Have you considered replacing this shader in the scene view or detecting in your shader whether you're rendering with the scene view camera and shortcutting the pixel snap logic? \$\endgroup\$
    – DMGregory
    Apr 27 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.