Reposting as suggested Unity
We are currently upgrading to Unity 2021 and we noticed that a few of our 3D models in AR don't render correctly. We suspect the upgrade broke some normal maps. Happens on iOS and Android but does not appear in editor.
Unity 2020 looks fine
[8478032--1126958--Unity 2020.jpg]
Unity 2021 looks like a dark streak is on one side.
[8478032--1126955--Unity 2021.jpg]
We are currently upgrading to Unity 2021.3.3f1 and have the URP 12.1.6 package.
We were on 2020.3.7f1 URP 10.4.0.
Following…
I am not sure if it is normal maps or something else going on. But this only appears in mobile builds for Android and iOS, doesn’t occur in editor.
I had the same problem when I updated from Unity 2020.3.42 to 2021.3.15.
See the screenshot below.
The first one has TargetPlatform as PC, left with normal map, right without normal map. The other parameters are the same, so the colors come out almost the same.
However, when TargetPlatform is set to iOS, the colors on the left and right are completely different.
I have confirmed that this is a problem not only with the Editor, but also with the player we built.
kyubuns
December 27, 2022, 5:25am
4
Anyone?
I have sent a reproduced project to Unity regarding this as a bug report, but have received no response.
Does anyone know of any workarounds, etc.?
A team member found the following change, which was changed in 12.0.0 and fixed in 14.x, to be suspicious.
The change was made a whole year ago and is still not reflected in 12.x.
committed 12:29PM - 23 Aug 21 UTC
* fixed TerrainLit being lighter on mobile
* added change to changelog
* R… emoved SH sampling that was not needed
* corrected changelog
committed 02:10PM - 23 Nov 21 UTC
Since this change is one commit in a huge PullRequest, I can’t decide if I should just incorporate this change.
Unity-Technologies:master ← Unity-Technologies:universal/no-shader-api-mobile
opened 11:17AM - 14 Jan 22 UTC
# **Please read the [Contributing guide](CONTRIBUTING.md) before making a PR.**
…
* Read the [Graphics repository & Yamato FAQ](http://go/graphics-yamato-faq).
### Checklist for PR maker
- [x] Have you updated the changelog? Each package has a `CHANGELOG.md` file.
- [ ] Have you updated or added the documentation for your PR? When you add a new feature, change a property name, or change the behavior of a feature, it's best practice to include related documentation changes in the same PR. If you do add documentation, make sure to add the relevant Graphics Docs team member as a reviewer of the PR. If you are not sure which person to add, see the [Docs team contacts sheet](https://docs.google.com/spreadsheets/d/1rgUWWgwLFEHIQ3Rz-LnK6PAKmbM49DZZ9al4hvnztOo/edit#gid=1058860420).
- [x] Have you added a graphic test for your PR (if needed)? When you add a new feature, or discover a bug that tests don't cover, please add a graphic test.
---
### Purpose of this PR
* Remove SHADER_API_MOBILE that implicitly changed shader quality from URP shaders.
* Always normalize normals in vertex shader.
* Remove low quality light fall off.
* Remove SHADER_HINT_NICE_QUALITY from URP shaders.
* Remove SHADER_QUALITY_[LOW|MEDIUM|HIGH] being used.
* Affects:
* Particle normal
* Grass & Tree normal
* Nature LOD fade
* GI SH eval vertex vs. pixel
* Clearcoat base material darkening.
* BUMP_SCALE_NOT_SUPPORTED (avoid HINT_NICE_QUALITY)
* Added soft shadow quality option per light (to avoid SHADER_QUALITY)
---
### Testing status
Ran foundation tests locally. Added new test cases for soft shadow quality.
Captured some approximate perf numbers (4k, deferred shading, bunch of shadow casting lights):
Hard: 27.29 ms : 100%
Soft Low: 28.12 ms : 103%
Soft Medium: 36.74ms : 135%
Soft High: 42.81ms : 157%
Low:

Medium:

High:

---
### Comments to reviewers
Notes for the reviewers you have assigned.
This issue has been registered with issuetracker.
I think it has been occurring since 2021.3.0. (It has not occurred in 2022.)
I am just starting to test 2022 for other features, so if I have time I will double check that. But it may be a few days at least before I can get to it.
I tested it today and the issue still exists with Unity 2022.2.1f1 Universal RP 14.0.4.
Really? Maybe my problem and yours are different …
I have not Tested with 2022.2.2f1 though. And I know there are some updates with that related with mobile URP so I will wait and see with that. I don’t know when I will test with that version atm.