I just purchased AnyPortrait a few days ago and everything is pink. I am using Universal Render Pipeline. Is AnyPortriat incompatible with URP... How do I fix this??
I tried changing the default shader from AnyPortrait shader to unity standard shader but they change back when pressing play. All demo scenes have this problem.
Thanks,
Wael
Hi!
In each case, we will tell you the cause of the problem and how to fix it.
First, the screen looks blue because the demo scenes use two cameras.
In URP, the multi-camera setup is not compatible with the original method, so you need to change the properties.
(1) Find and select a camera for UI.
(2) Change the Render Type to Overlay.
Now it should work without any problems.
The second question you asked us is to change the material of models other than objects created with AnyPortrait.
Since AnyPortrait editor only manages the material of characters created with AnyPortrait, other materials must be manually modified.
(1) If you select 3D models after changing to URP, you can see that it has a material that is not compatible with URP.
(1) Change the shader of the material to the shader for URP.
(2) At this time, the texture properties can be initialized, so assign the texture to the Base Map again.
The fence model should now render properly.
Please refer to the Unity manual for how to create or configure URP material.
If you have more questions about URP, please leave a comment.
Thank you.