Getting A Client's Avatar
Getting the Clients Avatar
Firstly we want to get the client's avatar, you can do this by using the GetLargeAvatarAsync() task. To make it super easy you can put it in a method for use later.
Coverting Steamworks.Data.Image into UnityEngine.Texture2D
Now we gotta be able to use that image we just grabbed from Steam and be able to use it in Unity. We have to flip the image in order for it to be in the correct orientation. If we don't do this the avatar will be upside down For the sake of making the code more readable, we can make the converter into an extension method
Result
Now to get the image and cache it you can easily just do
Tips
I'd recommend precaching the avatar, Like I had done in the example above.