microsoft / MapsSDK-Unity

This repository contains samples, documentation, and supporting scripts for Maps SDK, a Microsoft Garage project.
MIT License
648 stars 127 forks source link

Broken Shaders Unity 2022 URP #206

Closed josHooah51 closed 12 months ago

josHooah51 commented 1 year ago

Hello I upgraded from Unity 2021 to 2022.3.6f1 URP but now the shaders are broken with hot pink material results.

Any help in fixing the Maps SDK/Standard Terrain shader would be greatly appreciated as this is the primary one I need but clicking the other materials it looks like those shaders are broken as well.

Currently I am using Unity packages version 0.11.2 .

If I open the shader code it looks to be using "CG" rather than "HLSL". Found the URP Shaders here on this repos UPM folder to try and test. I imported to the project but cant make my map use the provided URP shader/materials to test.

image

image

josHooah51 commented 1 year ago

Found where to use the URP material. All is working now!

image