mardi 7 février 2017

Unity Firebase Storage Mscorlib Stripping

Vote count: 0

I have been using firebase for Unity and I know it is still experimental.

When building an APK and stripping level is set to Mscorlib, error comes out on logical that prevents uploading/downloading to storage

Here is the error

    NotSupportedException: ..... etc.
    System.Net.WebRequest.GetCreator (System.String prefix) [0x00000]in <filename unknown>:0 
    I/Unity   (16919):   at System.Net.WebRequest.Create (System.Uri requestUri) [0x00000] in <filename unknown>:0 
    I/Unity   (16919):   at Firebase.UnityHttpRequest+<SendUnityRequest>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0 

But when set to Disabled it is ok. But I need this to lessen the file size. I used linker.xml to preserve "System.Net.HttpRequestCreator" but I believe this only works for iOS?

My question is, is it really necessary to set the stripping level to disable for firebase storage to work in Unity?

asked 39 secs ago

Let's block ads! (Why?)



Unity Firebase Storage Mscorlib Stripping

Aucun commentaire:

Enregistrer un commentaire