Sorry for the delay in my reply.
Anyway.
I had to replace all [Serializable] with
[DataContract]
. I'm not sure how this affects serialization since I usually use
[DataContract]
together with
[DataMember]
when I build WCF services.
Next was to change the Atlas class in the constructor
public Atlas (string path, TextureLoader textureLoader)
.
using
Microsoft.Xna.Framework.TitleContainer.OpenStream(path);
to get a stream since UWP no longer seems to support strings as a builder parameter.
I still haven't been able to perform an exhaustive test so I'm not sure if this will fail at runtime, but in principle it works.